TIME(1) DOMAIN/IX SYS5 TIME(1)
NAME
time - time a command
USAGE
time command
DESCRIPTION
Time prints the amount of time it took for you to input the
command, as well as the amount of time it took to execute
it. Times are reported in seconds, and are printed on stan-
dard error.
EXAMPLE
Time is helpful in reporting the CPU usage of a program.
The information is printed on standard error, so commands
that typically generate large quantities of output can be
timed by sending the standard output to /dev/null, as in the
following example:
# time grep e /usr/bin/words > dev/null
real 7.5
user 2.9
The numbers in the output of time are elapsed clock (real)
time and time spent in the program (user).
RELATED INFORMATION
times(2).
Printed 12/4/86 TIME-1