TIME(1) BSD Reference Manual TIME(1)NAME
time - time command execution
SYNOPSIS
time [-l] command [arg ...]
DESCRIPTION
The time utility executes and times command by initiating a timer and
passing the command to the shell. After the command finishes, time
writes to the standard error stream, (in seconds): the total time
elapsed, time consumed by system overhead, and the time used to execute
the command process.
The options are as follows:
-l The contents of the rusage structure are printed as well.
The csh(1) has its own (syntactically different) builtin version of time.
The command described here is available as /usr/bin/time to csh users.
The time utility exits 127 if unable to execute the command, 126 if the
command did not exit, and otherwise the command's exit value.
BUGS
The granularity of seconds on micro processors is crude and can result in
times being reported for CPU usage which are too large by a second.
SEE ALSOcsh(1), getrusage(2)HISTORY
A time command appeared in Version 6 AT&T UNIX.
4th Berkeley Distribution June 6, 1993 1