Thursday, March 25, 2010

Add swap file on Solaris 10

mkfile 1024m /swapfile
swap -a /swapfile

You then need to add the following line to /etc/vfstab...

/swapfile - - swap - no -

To determine the size of the configured swap space, enter the following command:

# /usr/sbin/swap -s

To determine the physical RAM size, enter the following command:

# /usr/sbin/prtconf | grep "Memory size"



No comments:

Post a Comment