times

display user and system times used by the KornShell and its children

KornShell Built-in


SYNOPSIS

times [-p]


DESCRIPTION

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.

Options

-p

formats 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


DIAGNOSTICS

Possible exit status values are:
0

Successful completion.

2

Failure which resulted in a usage message, usually due to an invalid command line option.


PORTABILITY

x/OPEN Portability Guide 4.0.

The -p option is an extension to the XPG standard.

times is a built-in command of the Bourne Shell and KornShell on UNIX systems.


NOTE

This command is built into the MKS KornShell.


SEE ALSO

Commands:
sh, time


Updated MKS Toolkit [3khat16.ico]HP3000 [3khat16.ico]3kMail [archive16.gif]