Commit | Line | Data |
---|---|---|
6601abfb C |
1 | .TH TIME 1 "18 January 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | time \- time a command | |
5 | .SH SYNOPSIS | |
6 | .B time | |
7 | command | |
8 | .SH DESCRIPTION | |
9 | The | |
10 | given command is executed; after it is complete, | |
11 | .I time | |
12 | prints the elapsed time during the command, the time | |
13 | spent in the system, and the time spent in execution | |
14 | of the command. | |
15 | Times are reported in seconds. | |
16 | .PP | |
17 | On a PDP-11, the execution time can depend on what kind of memory | |
18 | the program happens to land in; | |
19 | the user time in MOS is often half what it is in core. | |
20 | .PP | |
21 | The times are printed on the diagnostic output stream. | |
22 | .PP | |
23 | .I Time | |
24 | is built in to | |
25 | .IR csh (1), | |
26 | using a different output format. | |
27 | .SH BUGS | |
28 | Elapsed time is accurate to the second, | |
29 | while the CPU times are measured | |
30 | to the 100th second. | |
31 | Thus the sum of the CPU times can be up to a second larger | |
32 | than the elapsed time. | |
33 | .PP | |
34 | .I Time | |
35 | is a built-in command to | |
36 | .IR csh (1), | |
37 | with a much different syntax. This command is available as | |
38 | ``/bin/time'' to | |
39 | .I csh | |
40 | users. |