Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TIME(1)			    General Commands Manual		       TIME(1)

NAME
       time - time a command

SYNOPSIS
       time [-l] command

DESCRIPTION
       The  given  command  is executed; after it is complete, time prints the
       elapsed time during the command,	the time spent in the system, and  the
       time spent in execution of the command.	Times are reported in seconds.
       If the -l option	is supplied, the contents of the rusage	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''.

       Time  is	 a  built-in  command to csh(1), with a	much different syntax.
       This command is available as ``/bin/time'' to csh users.

BUGS
       Elapsed time is accurate	to the second, while the CPU  times  are  mea-
       sured  to the 100th second.  Thus the sum of the	CPU times can be up to
       a second	larger than the	elapsed	time.

SEE ALSO
       include/sys/h/resource.h

4th Berkeley Distribution      November	17, 1987		       TIME(1)

NAME | SYNOPSIS | DESCRIPTION | BUGS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=time&manpath=4.3BSD+Reno>

home | help