|
|
1.1 root 1: .th TIME I 8/16/73
2: .sh NAME
3: time \*- time a command
4: .sh SYNOPSIS
5: .bd time
6: command
7: .sh DESCRIPTION
8: The
9: given command is executed; after it is complete,
10: .it 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: .s3
15: The execution time can depend on what kind of memory
16: the program happens to land in;
17: the user time in MOS is often half what it is in core.
18: .sh BUGS
19: Notice that
20: .bd "time x >y"
21: puts the timing information into
22: .it y.
23: One can get around this by
24: .bd "time sh"
25: followed by
26: .bd "x >y."
27: .br
28: Elapsed time is accurate to the second,
29: while the CPU times are measured
30: to the 60th second.
31: Thus the sum of the CPU times can be up to a second larger
32: than the elapsed time.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.