DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Managing system performance

Reporting application turnaround with timex

The timex(1) command records the amount of time taken by a command to execute, and reports the system activities that occurred during the time the command was executing. If no other programs are running, timex can give you a good idea which resources a specific command uses during its execution. A record of system consumption can be collected for each application program and then used for tuning heavily loaded resources.

Use timex as follows:

   timex -s application_program
The application program will process normally. When you finish running the application and exit, the timex result, a precise record of the system resources used while the program was executing, is displayed on your screen.

If accounting is installed and running, then timex can present the information it collects as well. The following options can be used with the existence of accounting:

   timex [-p[-fhkmrt]] [-o] application_program
See timex(1). for more information.
Next topic: Kernel profiling
Previous topic: Checking raw system performance data with sar -R

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004