Time Manual Entry


TIME(1)                   BSD General Commands Manual                  TIME(1)

NNAAMMEE
     time -- time command execution

SSYYNNOOPPSSIISS
     time [--llpp] _u_t_i_l_i_t_y

DDEESSCCRRIIPPTTIIOONN
     The time utility executes and times _u_t_i_l_i_t_y.  
     After the _u_t_i_l_i_t_y finishes, time writes the 
     total time elapsed, the time consumed by system overhead,
     and the time used to execute _u_t_i_l_i_t_y to the standard error stream.

     Times are reported in seconds.

     Available options:

     --ll      The contents of the _r_u_s_a_g_e structure are printed.

     --pp      The output is formatted as specified by IEEE Std 1003.2-1992
             (``POSIX.2'').

     The csh(1) has its own and syntactically different builtin version of
     time.  The utility described here is available as
     _/_u_s_r_/_b_i_n_/_t_i_m_e to csh users.

DDIIAAGGNNOOSSTTIICCSS
     The time utility shall exit with one of the following values:

     1-125   An error occurred in the time utility.

     126     The _u_t_i_l_i_t_y was found but could not be invoked.

     127     The _u_t_i_l_i_t_y could not be found.

     Otherwise, the exit status of time shall be that of _u_t_i_l_i_t_y.

SSEEEE AALLSSOO
     csh(1), getrusage(2)

FFIILLEESS
     /usr/include/sys/resource.h

SSTTAANNDDAARRDDSS
     The time utility conforms to IEEE Std 1003.2-1992 (``POSIX.2'').

BBUUGGSS
     The granularity of seconds on microprocessors is crude and can result in
     times being reported for CPU usage which are too large by a second.

BSD                              June 6, 1993                              BSD