|
|
1.1 root 1: .TH TIME 1
2: .CT 1 proc_man time_man debug_tune
3: .SH NAME
4: time \- time a command
5: .SH SYNOPSIS
6: .B time
7: [
8: .B -usrtdmfio
9: ]
10: [
11: .B -v
12: ]
13: .I command
14: .SH DESCRIPTION
15: The
16: given command is executed; after it is complete,
17: .I time
18: reports statistics about the program on its standard error output.
19: The statistics printed are controlled by the option string;
20: the default is
21: .BR -usr ;
22: .B -v
23: reports everything.
24: The statistics are:
25: .TP
26: .B u
27: User cpu time consumed by the command
28: .TP
29: .B s
30: System cpu time attributed to the command
31: .TP
32: .B r
33: Real (clock) time taken by the command
34: .TP
35: .B t
36: Average resident text size, in Kb.
37: .TP
38: .B d
39: Average resident data size, in Kb.
40: .TP
41: .B m
42: Maximum total resident size, in Kb.
43: .TP
44: .B f
45: Number of page faults resulting in disk I/O.
46: .TP
47: .B i
48: Number of disk blocks read.
49: .TP
50: .B o
51: Number of disk blocks written.
52: .PP
53: After the statistics,
54: .I time
55: prints a tab and the command, up to the fifth argument.
56: Times are reported in seconds.
57: The numbers are the sum of those for
58: .I command
59: and any children it spawns and waits for.
60: .SH "SEE ALSO"
61: .IR lcomp (1),
62: .IR prof (1)
63: .SH BUGS
64: Elapsed time is accurate to the second,
65: while the CPU times are measured
66: to 1/60 second.
67: Thus the sum of the CPU times can be up to a second larger
68: than the elapsed time.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.