timesdisplay user and system times used by the KornShell and its children |
KornShell Built-in |
times [-p]
times displays user and system times accumulated by the
KornShell and commands run as children of that shell.
Times are displayed in minutes and seconds.
User time is CPU time spent in user programs.
System time is CPU time spent in the operating system on behalf of the user
process.
-pformats the output in seconds without units. One minute and 3.47
seconds is displayed as 63.47. The output format is:
shell user time shell system time child user time child system time
0Successful completion.
2Failure which resulted in a usage message, usually due to an invalid command line option.
-p option is an extension to the XPG standard.
times is a built-in command of the Bourne Shell and
KornShell on UNIX systems.