GNU Info

Info Node: (time.info)Invoking time

(time.info)Invoking time


Prev: Accuracy Up: Resource Measurement
Enter node , (file) or (file)node

Running the `time' Command
==========================

   The format of the `time' command is:

     time [option...] COMMAND [ARG...]

   `time' runs the program COMMAND, with any given arguments ARG....
When COMMAND finishes, `time' displays information about resources used
by COMMAND (on the standard error output, by default).  If COMMAND
exits with non-zero status or is terminated by a signal, `time'
displays a warning message and the exit status or signal number.

   Options to `time' must appear on the command line before COMMAND.
Anything on the command line after COMMAND is passed as arguments to
COMMAND.

`-o FILE'
`--output=FILE'
     Write the resource use statistics to FILE.

`-a'
`--append'
     _Append_ the resource use information to the output file instead
     of overwriting it.

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

`--help'
     Print a summary of the command line options to `time' and exit.

`-p'
`--portability'
     Use the POSIX format.

`-v'
`--verbose'
     Use the built-in verbose format.

`-V'
`--version'
     Print the version number of `time' and exit.



automatically generated by info2www version 1.2.2.9