4.3BSD-Tahoe/usr/man/cat1/time.0
TIME(1) UNIX Programmer's Manual TIME(1)
NNAAMMEE
time - time a command
SSYYNNOOPPSSIISS
ttiimmee [-l] command
DDEESSCCRRIIPPTTIIOONN
The given command is executed; after it is complete, _t_i_m_e
prints the elapsed time during the command, the time spent
in the system, and the time spent in execution of the com-
mand. Times are reported in seconds. If the --ll option is
supplied, the contents of the _r_u_s_a_g_e structure are printed
as well.
On a PDP-11, the execution time can depend on what 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,
``stderr''.
_T_i_m_e is a built-in command to _c_s_h(1), with a much different
syntax. This command is available as ``/bin/time'' to _c_s_h
users.
BBUUGGSS
Elapsed time is accurate to the second, while the CPU times
are measured to the 100th second. Thus the sum of the CPU
times can be up to a second larger than the elapsed time.
SSEEEE AALLSSOO
include/sys/h/resource.h
Printed 7/9/88 November 17, 1987 1