Skip to main content

Check memory and swap on Solaris

On Linux, use free to check them. One Solaris, no 'free' free.

To check memory, run /usr/sbin/prtconf | grep size
To check swap, run swap -l

If some applications need more swap to install, add swap as below

mkfile 1000m /var/newswap
swap -a /var/newswap

To make this swap permanent, add a line to /etc/vfstab
/var/newswap - - swap - no -

Comments