TIME(1) — Unix Programmer’s Manual
NAME
time − print a command’s elapsed, system and user times
SYNOPSIS
time command
DESCRIPTION
The given command is executed. When it completes, time prints the elapsed time, the time spent in the system, and the time spent in execution of the command. Times are reported in seconds.
On a PDP-11, the execution time can depend on the kind of memory the program happens to land in; the user time in MOS is often half what it is in core.
The times are printed on the diagnostic output stream.
Time is built in to csh(1), using a different output format.
BUGS
Elapsed time is accurate to the second; the CPU times are measured to the hundredth of a second. The sum of the CPU times can thus be up to a second larger than the elapsed time.
Time is a built-in command to csh(1), with a very different syntax. This command is available as /bin/time to csh users.
4th Berkeley Distribution — 1 August 1985