Totalview® for HPC Reference Guide : PART III Platforms and Operating Systems : Chapter 10 Operating Systems : Swap Space : Swap Space on SunOS 5
Swap Space on SunOS 5
To find out how much swap space has been allocated and is currently being used, use the swap -s command:
To find out how much swap space is in use while you are running TotalView:
1. Start TotalView with a large executable:
totalview executable
Press Ctrl+Z to suspend TotalView.
1. 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 online manual pages for these commands.