GNU Info

Info Node: (time.info)Setting Format

(time.info)Setting Format


Next: Format String Up: Resource Measurement
Enter node , (file) or (file)node

Setting the Output Format
=========================

   `time' uses a "format string" to determine which information to
display about the resources used by the command it runs.  Note: Format
String, for the interpretation of the format string contents.

   You can specify a format string with the command line options listed
below.  If no format is specified on the command line, but the `TIME'
environment variable is set, its value is used as the format string.
Otherwise, the default format built into `time' is used:

     %Uuser %Ssystem %Eelapsed %PCPU (%Xtext+%Ddata %Mmax)k
     %Iinputs+%Ooutputs (%Fmajor+%Rminor)pagefaults %Wswaps

   The command line options to set the format are:

`-f FORMAT'
`--format=FORMAT'
     Use FORMAT as the format string.

`-p'
`--portability'
     Use the following format string, for conformance with POSIX
     standard 1003.2:

          real %e
          user %U
          sys %S

`-q'
`--quiet'
     Suppress non-zero error code from the executed program.

`-v'
`--verbose'
     Use the built-in verbose format, which displays each available
     piece of information on the program's resource use on its own
     line, with an English description of its meaning.


automatically generated by info2www version 1.2.2.9