*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> time (1)              



NAME    [Toc]    [Back]

     time - time command execution

SYNOPSIS    [Toc]    [Back]

     time [-lp] utility

DESCRIPTION    [Toc]    [Back]

     time executes and times utility.  After the utility  finishes, time writes
     the  total  time  elapsed, the time consumed by system overhead, and the
     time used to execute utility to the standard  error  stream.
Times are reported
 in seconds.

     The options are as follows:

     -l      The contents of the rusage structure are printed.

     -p       The  output  is  formatted as specified by IEEE Std

     The time utility exists as a built-in to  most  shells,  although they may
     be  syntactically  different.  The utility described here is
available as

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

     1-125   An error occurred in the time utility.
     126     The utility was found but could not be invoked.
     127     The utility could not be found.

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

FILES    [Toc]    [Back]


SEE ALSO    [Toc]    [Back]

     csh(1), sh(1), getrusage(2)

STANDARDS    [Toc]    [Back]

     The  time  utility  conforms   to   IEEE   Std   1003.2-1992

HISTORY    [Toc]    [Back]

     A time command appeared in Version 3 AT&T UNIX.

BUGS    [Toc]    [Back]

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

OpenBSD      3.6                           June      6,      1993
[ Back ]
 Similar pages
Name OS Title
time Tru64 Times the execution of a command
env HP-UX set environment for command execution
rexec_r Tru64 Allow command execution on a remote host
rexec Tru64 Allow command execution on a remote host
crttrace IRIX arrange for command execution to be traced
nanosleep Linux pause execution for a specified time
profil HP-UX execution time profile
sleep Tru64 Suspends execution for at least the specified time
profil Linux execution time profile
profil IRIX execution time profile
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service