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. Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.

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.


AVAILABILITY

PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC Integrity


SEE ALSO

Commands:
sh, time


PTC MKS Toolkit 10.1 Documentation Build 15.