Sun Studio 12 Update 1: Fortran User's Guide

2.5.3.1 Swap Space Limits

The SunOSTM operating system command, swap -s, displays available swap space. See swap(1M).

Example: Use the swap command:


demo% swap -s
total: 40236k bytes allocated + 7280k reserved = 47516k used, 1058708k available
To determine the actual real memory:

demo% /usr/sbin/dmesg | grep mem
mem = 655360K (0x28000000)
avail mem = 602476544