|
| cool Statistics |
| | coolcommands: | 1338 | | Categories: | 83 | | Total queries: | 620358 | | Members: | 22813 | |
|
|
|
 |
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
how to reports the elapsed time, user time, and system execution time for a command in IBM AIX |
Description
The timex command reports, in seconds, the elapsed time, user time, and system execution time for a command. With specified flags, the timex command lists or summarizes process accounting data for a command and all of its children. Command is the name of any executable file on the system.
# timex [ -o ] [ -p ] [ -s ] Command
where :
-o : reports the total number of blocks read or written and total characters transferred by a command and all its children.
-p ; lists process accounting records for a command and all its children. The number of blocks read or written and the number of characters transferred are reported. The -p flag takes the f, h, k, m, r, and t arguments defined in the acctcom command to modify other data items.
-f : print the fork/ exec flag and system exit status columns in the output.
-h : instead of mean memory size, shows the fraction of total available CPU time consumed by the process (hogfactor).
-k : instead of memory size, shows total kcore minutes (memory measurement in kilobyte segments used per minute of run time).
-m : shows mean main-memory size. This is the default. The -h flag or -k flag turn off the -m flag.
-r : shows CPU factor.
-t : shows separate system and user CPU times.
-s : reports total system activity during the execution of the command. All the data items listed in the sar command are reported.
Note: Accounting must be turned on to use the -o or -p flags. |
Example
timex -o ls |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: fwstart - how to load (start) the firewall module in Checkpoint Firewall-1
Example: fwstart
[show me the details] |
coolcommand: procflags - how to display tracing flags, signals and status info of a process in AIX 5L
Example: procflags 233628; procflags -r 233628
[show me the details] |
coolcommand: to confirm which network adapter is plugged into the switch in IBM AIX
Example: netstat -v |grep -E "ETHER|Media"
[show me the details] |
coolcommand: rrdtool - restore a rrdtool (round robin database) database file from xml
Example: rrdtool restore cpu.xml cpu.rrd
[show me the details] |
|
|
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1160 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 14 |
Top 5 Searches
|
| Category Solaris | 51966 |
| Category AIX | 49058 |
| Category General UNIX | 47583 |
| solaris | 23554 |
| aix | 22739 |
|
|
|
|