time: Setting Format
1
1 1.1 Setting the Output Format
1 =============================
1
1 'time' uses a "format string" to determine which information to display
1 about the resources used by the command it runs. ⇒Format String,
1 for the interpretation of the format string contents.
1
1 You can specify a format string with the command line options listed
1 below. If no format is specified on the command line, but the 'TIME'
1 environment variable is set, its value is used as the format string.
1 Otherwise, the default format built into 'time' is used:
1
1 %Uuser %Ssystem %Eelapsed %PCPU (%Xtext+%Ddata %Mmax)k
1 %Iinputs+%Ooutputs (%Fmajor+%Rminor)pagefaults %Wswaps
1
1 The command line options to set the format are:
1
1 '-f FORMAT'
1 '--format=FORMAT'
1 Use FORMAT as the format string.
1
1 '-p'
1 '--portability'
1 Use the following format string, for conformance with POSIX
1 standard 1003.2:
1
1 real %e
1 user %U
1 sys %S
1
1 '-v'
1 '--verbose'
1 Use the built-in verbose format, which displays each available
1 piece of information on the program's resource use on its own line,
1 with an English description of its meaning.
1