time(1) time(1)
NAME
time - time a command
SYNOPSIS
time command
DESCRIPTION
time executes the command; afterward, time prints the
elapsed time during the command, the time spent in the
system, and the time spent in execution of the command.
Times are reported in seconds.
The times are printed on the standard error output.
EXAMPLE
time nroff -mm filea
will, in sh, perform the formatting and report the time at
the end of the file, e.g.:
real 22.0
user 8.6
sys 6.4
In csh, where time is a built-in command, the time report
might be:
8.9u 7.0s 0:29 54%
which reports, respectively, the user time, system time,
real time, and percentage of real time that the CPU was
active, which is the sum of the user and system times
divided by the real elapsed time.
FILES
/bin/time
SEE ALSO
csh(1), timex(1), times(2).
Page 1 (last mod. 1/16/87)