[manual index][section index]

NAME

time - time command execution

SYNOPSIS

time command [ arg ... ]

DESCRIPTION

Time executes the command with the given arguments, and reports on standard error the command's load time, real time for execution, and the total, in seconds. The load time is just the time for time itself to load command; loads done later by the command are included in the real time. To time a pipeline, use the -c option to sh(1):

time sh -c 'ps | grep Sh'

SOURCE

/appl/cmd/time.b

SEE ALSO

sh(1), sys-millisec(2)

BUGS

There is no way to measure CPU time (real or virtual) used by a command.

TIME(1 ) Rev:  Thu Feb 15 14:42:47 GMT 2007