TIME(1) UNIX Programmer's Manual TIME(1)
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
t
\bti
\bim
\bme
\be [-l] command
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
The given command is executed; after it is complete, _
\bt_
\bi_
\bm_
\be
prints the elapsed time during the command, the time spent
in the system, and the time spent in execution of the com-
mand. Times are reported in seconds. If the -
\b-l
\bl option is
supplied, the contents of the _
\br_
\bu_
\bs_
\ba_
\bg_
\be structure are printed
On a PDP-11, the execution time can depend on what kind of
memory the program happens to land in; the user time in MOS
is often half what it is in core.
The times are printed on the diagnostic output stream,
_
\bT_
\bi_
\bm_
\be is a built-in command to _
\bc_
\bs_
\bh(1), with a much different
syntax. This command is available as ``/bin/time'' to _
\bc_
\bs_
\bh
Elapsed time is accurate to the second, while the CPU times
are measured to the 100th second. Thus the sum of the CPU
times can be up to a second larger than the elapsed time.
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
Printed 7/9/88 November 17, 1987 1