time: Measure Program running time

Measure the running time of a program.
The `time? command will run another
program, and record the elapsed time or CPU Resource Used time used by that program.
The information mmay be displayed on screen or saved in a file.
Syntax
time [option...] command [arg...]

Options

-o FILE
--output=FILE
Write the resource use statistics to FILE.

-a
--append
*Append* the resource use information to the output file instead
of overwriting it.

-f FORMAT
--format=FORMAT
Use FORMAT as the format string, see below for formatting options.

--help
Summary of the command line options.

-o FILE
--output=FILE
Write the resource use statistics to FILE. By default, this
*overwrites* the file, destroying the file?s previous contents.

-a
--append
*Append* the resource use information to the output file instead
of overwriting it. This option is only useful with the `-o? or
`--output? option.

-p
--portability
Use the POSIX format.

-v
--verbose
Use the built-in verbose format, which displays each available
piece of information on the program?s resource use on its own
line, with an English description of its meaning.

-V
--version
Print the version number of `time? and exit.

Options to `time? must appear on the command line before COMMAND.
Anything on the command line after COMMAND is passed as arguments to
COMMAND.
Setting the Output Format
`time? uses a "format string" to determine which information to display about
the resources used by the command it runs. You can specify a format string with
the options listed above.
If no format is specified on the command line, but the `TIME? environment variable
is set, its value is used as the format string. Otherwise, the default format
built into `time? is used:
%Uuser %Ssystem
Tags
Comments
Write the first comment
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (9 + 1) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 15.05.2009
Views: 752
Item date: 07.03.2009
Views: 1432
Item date: 01.01.2009
Views: 1921
Item date: 21.07.2009
Views: 787
Item date: 14.05.2009
Views: 911
Item date: 23.08.2009
Views: 290
Item date: 16.06.2009
Views: 454
Item date: 12.10.2009
Views: 817
Item date: 12.04.2009
Views: 2077