svmon

The svmon command monitors virtual memory. It determines which processes, users, programs, and segments are consuming the most real, virtual, and page space memory. The statistics reported by svmon are expressed in terms of pages, where a page is 4 kilobytes.

The svmon command can be run like vmstat with intervals and count to record how memory is changing over time:

svmon -i<interval> <count>
Which takes a snapshot every <interval> seconds for <count> times.

Action Command
To show system wide memory use. svmonsvmon -i<interval> <count>
To determine which processes use the most real memory. This example produces the top three real memory usage processes. svmon -uP -t 3
To determine which processes use the most paging space. This example produces the top three processes that use the most paging space. svmon -gP -t 3
To find out how much memory a WLM class is using. svmon -W
To find out what segments are most utilized. This example shows how to find the top <number> segments. svmon -S -t <number> -i <interval>
To find out what files a process or command is using, where <PID> is the process ID number. svmon -pP <PID>
To find out which segments are in the paging space. svmon -gS