BSD 3 development
[unix-history] / usr / man / man1 / time.1
CommitLineData
e6817382
BJ
1.TH TIME 1
2.SH NAME
3time \- time a command
4.SH SYNOPSIS
5.B time
6command
7.SH DESCRIPTION
8The
9given command is executed; after it is complete,
10.I time
11prints the elapsed time during the command, the time
12spent in the system, and the time spent in execution
13of the command.
14Times are reported in seconds.
15.PP
16On a PDP-11, the execution time can depend on what kind of memory
17the program happens to land in;
18the user time in MOS is often half what it is in core.
19.PP
20The times are printed on the diagnostic output stream.
21.SH BUGS
22Elapsed time is accurate to the second,
23while the CPU times are measured
24to the 60th second.
25Thus the sum of the CPU times can be up to a second larger
26than the elapsed time.