forsyth20121205-174063a80cc13 years agoHistory
34 lines · 666 B · Text
RawDownload
.TH TIME 1.SH NAMEtime \- time command execution.SH SYNOPSIS.B time.I command[.I arg ...].SH DESCRIPTION.I Timeexecutes the.I commandwith the given arguments, and reports on standard error the command'sload time, real time for execution, and the total, in seconds.The load timeis just the time for.I timeitself to load.IR command ;loads done later by the command are included in the real time.To time a pipeline, use the.B -coption 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 BUGSThere is no way to measure CPU time (real or virtual) used by a command.