diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/1/time | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/1/time')
| -rw-r--r-- | man/1/time | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/man/1/time b/man/1/time new file mode 100644 index 00000000..5c1f3099 --- /dev/null +++ b/man/1/time @@ -0,0 +1,34 @@ +.TH TIME 1 +.SH NAME +time \- time command execution +.SH SYNOPSIS +.B time +.I command +[ +.I arg ... +] +.SH DESCRIPTION +.I Time +executes the +.I command +with the given arguments, and reports on standard error the command's +load time, real time for execution, and the total, in seconds. +The load time +is just the time for +.I time +itself to load +.IR command ; +loads done later by the command are included in the real time. +To time a pipeline, use the +.B -c +option to +.IR sh (1): +.IP +.B "time sh -c 'ps | grep Sh'" +.SH SOURCE +.B /appl/cmd/time.b +.SH "SEE ALSO" +.IR sh (1), +.IR sys-millisec (2) +.SH BUGS +There is no way to measure CPU time (real or virtual) used by a command. |
