TIMEX(1,C) AIX Commands Reference TIMEX(1,C)
-------------------------------------------------------------------------------
timex
PURPOSE
Times a command and reports process data and system activity.
SYNTAX
+--------+ +-------------------+
timex ---| +----+ |---| 1+-------+ |-- command --|
+-| -o |-+ +- -p --| f h k |---+
^| -s || ^ | m r t | |
|+----+| | +-------+ |
+------+ +-----------+
-----------------
1 Do not put a blank between these items.
Note: This command does not have MBCS support.
DESCRIPTION
The timex command reports, in seconds, the elapsed time, user time, and system
execution time for command where command is a local command. With flags
specified, timex can list or summarize process accounting data for command and
all of its children, and report total system activity during the execution
interval. Output is written to standard error. The system uses the
/usr/adm/pacct to select process records associated with command and includes
background processes having the same user ID, work station ID, and execution
time window.
FLAGS
-o Reports the total number of blocks read or written and total characters
transferred by command and all its children.
-p Lists process accounting records for command and all its children. The
number of blocks read or written and the number of characters transferred
are always reported. The f, h, k, m, r, and t arguments, defined in the
acctcom command, modify the other data items reported.
-s Reports total system activity that occurred during the execution of command.
All the data items listed in the sar command are reported.
RELATED INFORMATION
Processed November 8, 1990 TIMEX(1,C) 1
TIMEX(1c,C) AIX Commands Reference TIMEX(1c,C)
See the following commands: "acctcom" and "sar."
Processed November 8, 1990 TIMEX(1c,C) 2