Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


time command (displays the time used to execute a command)

Organization of this page

Format

time  [-p] [command]

Description

This command outputs to the standard error output the amount of time it took to execute a command.

Specifies the command whose execution time is to be output to the standard error output. If command is omitted, the shell's execution time is output. The output formats are as follows.

Arguments

-p

Specifies that the amounts of execution time, user CPU time, and system CPU time are to be output, each on a separate line.

command

Specifies the name of the command whose execution time and CPU time are to be output.

Return codes

Return code

Meaning

Return code of the specified command:

0 when no command is specified.

Normal termination

Notes

Usage example