Rev | Line | |
---|
[9] | 1 | .TH TIME 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | time \- report how long a command takes
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBtime \fIcommand\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH EXAMPLES
|
---|
| 18 | .EX "time a.out" "Report how long \fIa.out\fR takes"
|
---|
| 19 | .EX "time ls \-l *.c" "Report how long \fIls\fR takes"
|
---|
| 20 | .SH DESCRIPTION
|
---|
| 21 | .PP
|
---|
| 22 | The command is executed and the real time, user time, and system time (in
|
---|
| 23 | hours, minutes, and seconds) are printed.
|
---|
| 24 | Shell scripts cannot be timed.
|
---|
| 25 | .SH "SEE ALSO"
|
---|
| 26 | .BR times (2).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.