Home OS X
OS X Syntax

time

Measure the running time of a command.

SYNTAX
      time [-lp] [command]

OPTIONS

   -l      The contents of the rusage structure are printed.
   -p      The output is formatted  

Executes command (which must be a simple command, not an alias, a pipeline, a command list or a parenthesized command list) and prints a time summary as described under the time variable.

If necessary, an extra shell is created to print the time statistic when the command completes.

Without command, prints a time summary for the current shell and its children.

This is a tcsh shell command /usr/bin/time .
The csh has its own and syntactically different builtin version of time

"Let us not look back in anger or forward in fear, but around us in awareness" - James Thurber

Related commands:

exec - Execute a command

Equivalent BASH command:

time - Measure Program Resource Use



Back to the Top

Simon Sheppard
SS64.com