time: Invoking time
1
1 1.6 Running the 'time' Command
1 ==============================
1
1 The format of the 'time' command is:
1
1 time [option...] COMMAND [ARG...]
1
1 'time' runs the program COMMAND, with any given arguments ARG....
1 When COMMAND finishes, 'time' displays information about resources used
1 by COMMAND (on the standard error output, by default). If COMMAND exits
1 with non-zero status or is terminated by a signal, 'time' displays a
1 warning message and the exit status or signal number.
1
1 Options to 'time' must appear on the command line before COMMAND.
1 Anything on the command line after COMMAND is passed as arguments to
1 COMMAND.
1
1 '-o FILE'
1 '--output=FILE'
1 Write the resource use statistics to FILE.
1
1 '-a'
1 '--append'
1 _Append_ the resource use information to the output file instead of
1 overwriting it.
1
1 '-f FORMAT'
1 '--format=FORMAT'
1 Use FORMAT as the format string.
1
1 '--help'
1 Print a summary of the command line options to 'time' and exit.
1
1 '-p'
1 '--portability'
1 Use the POSIX format.
1
1 '-v'
1 '--verbose'
1 Use the built-in verbose format.
1
1 '-V'
1 '--version'
1 Print the version number of 'time' and exit.
1