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