Linux timex command
Updated: 05/04/2019 by Computer Hope
On the Solaris operating system, the timex command times a command and reports process data and system activity.
Syntax
timex [-o] [-p [-f] [-h] [-k] [-m] [-r] [-t]] [-s] command
Options
-o | Report the total number of blocks read or written and total characters transferred by command and all its children. This option works only if the process accounting software is installed. | ||||||||||||
-p | List process accounting records for command and all its children. This option works only if the process accounting software is installed. Sub options f, h, k, m, r, and t modify the data items reported. The options are as follows:
|
||||||||||||
-s | Report total system activity (not just that due to command ) that occurred during the execution interval of command. All the data items listed in sar are reported. | ||||||||||||
command | Name of the command to execute |
Examples
timex -ops sleep 60
sleep for 60 seconds, and reports how long the system actually "slept".
Related commands
sar — Display system activity information under Solaris.
time — Report process data and system activity for a specified command.