How to monitor paging space utilization on AIX V5.3
The AIX Resource Monitoring and Control (RMC) facility
can be used to monitor paging space utilization.
A sample Korn shell script is available which configures the AIX RMC so that a note is sent to specified email addresses when paging space utilization exceeds a threshold (50% by default). The threshold can be changed by editing the shell script. The email addresses are specified in a file with a suffix of .emailaddrs, residing the same directory and with the same base name as the shell script. (That is, if the shell script is named rmcpgmon, then the address file must be named rmcpgmon.emailaddrs.) It is possible to modify the shell script to take other actions instead of (or in addition to) sending a note.
The shell script configures RMC so that it is invoked once when AIX paging space gets more than 50% full and once when AIX paging space gets less than 45% full. Just to be clear, once an event triggers, it will not trigger again to run the shell script until it is rearmed. The event will rearm (and run the shell script once) when PctTotalPgSpUsed < 45.
The shell script requires a text file in the directory in which it resides, so it is best to put the script in a directory dedicated to resource monitoring (eg, /usr/local/rmc) rather than a directory such as /usr/local/sbin.
When invoked with no parameters, the shell script produces help text documenting the flags it supports:
For detailed information about the AIX Resource Monitoring and Control (RMC) facility
, see Basic resource monitoring
, which describes how to exploit predefined conditions and responses in AIX RMC, and Advanced resource monitoring
, which describes how to create and exploit custom conditions and responses in AIX RMC.
To list all RMC resource classes, run the command:
To list attributes and values for resource class IBM.Host, run the command:
The contents of this web page solely reflect the personal views of the authors and do not necessarily represent the views, positions, strategies or opinions of IBM or IBM management. Please use the
Add Comment link at the bottom of the page to provide feedback. Note: Until you log in (using the link in the upper right corner of this web page), you will not see the
Add Comment link and you can not add a comment. If you do not already have an IBM ID, use the Register Now link on the sign in page to obtain one. Registration is quick and easy.
Hi, Interesting but where is the script rmcpgmon ?
Thanks
Ph.