[ Previous | Next | Contents | Glossary | Search ]
Performance Toolbox Version 1.2 and 2 for AIX: Guide and Reference

chmon Command

Another sample program written to the data-consumer API is the program chmon. Source code to the program is in /usr/samples/perfmgr/chmon.c . The chmon program is also stored as an executable during the installation of the Manager component.

Syntax

chmon[-iseconds_interval][-pno_of_processes][hostname]

Parameters

seconds_interval
Is the interval between observations. Must be specified in seconds. No blanks must be entered between the flag and the interval. Defaults to 5 seconds.
no_of_processes
Is the number of "hot" processes to be shown. A process is considered "hotter" the more CPU it uses. No blanks must be entered between the flag and the count field. Defaults to 0 (no) processes.
hostname
Is the host name of the host to be monitored. Default is the local host.

The sample program exits after 2,000 observations have been taken, or when you type the letter "q" in its window.


[ Previous | Next | Contents | Glossary | Search ]