NAME [Toc] [Back]
time - time a command
SYNOPSIS [Toc] [Back]
XPG4 only [Toc] [Back]
time [-p] utility [argument ...]
DESCRIPTION [Toc] [Back]
command is executed. Upon completion, time prints the elapsed time
during the command, the time spent in the system, and the time spent
executing the command. Times are reported in seconds.
Execution time can depend on the performance of the memory in which
the program is running.
The times are printed on standard error.
Note that the shell also has a keyword time that times an entire
pipeline if used anywhere in the pipeline, unlike time(1) command
which times a particular command if used in a pipeline.
Options [Toc] [Back]
time recognizes the following option:
-p (XPG4 only.) Writes the timing statistics to standard
SEE ALSO [Toc] [Back]
sh(1), timex(1), times(2).
STANDARDS CONFORMANCE [Toc] [Back]
time: SVID2, XPG2, XPG3, XPG4, POSIX.2
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ]