SunOS 5
To find out how much swap space has been allocated and is currently being used, use the swap command:
% /usr/sbin/swap -s
total: 16192K bytes allocated + 7140K bytes \
reserved = 23332K used, 63456K available
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:
/bin/ps -l
To add swap space, use the mkfile(1M) and swap(1M) commands. You must be root to use these commands. For more information, refer to the on-line manual pages for these commands.