IBM AIX
To find out how much swap space has been allocated and is currently being used, use the pstat command:
% /usr/sbin/pstat -s
PAGE SPACE:
USED PAGES FREE PAGES
7555
115325
In this example, 122880 (7555 + 115325) pages of swap space was allocated; 7555 pages are currently in use, and 115325 pages are free.
To find out how much swap space is in use while you are running TotalView:
- Start TotalView with a large executable:
totalview
executable
- Press Ctrl-Z to suspend TotalView.
- Use the following command to see how much swap space TotalView is using:
ps u
For example, in this case the value in the SZ column is 5476 KB:
USER PID %CPU %MEM SZ RSS TTY ...
smith 15080 0.0 6.0 5476 5476 pts/1 ..
.
To add swap space, use the AIX system management tool, smit. Use the following path through the smit menus:
System Storage Management
' Logical Volume Manager
'
Paging Space