In my previous post, I provided some information about how to add swap space on Linux.
Recently, I installed an application on my Sun Ultra 10 machine (quite old but still usable) and this application requires a decent amount of memory. To meet this requirement, I only added swap space.
Here's how to add swap on Solaris:
1. Create a swap file. Let's say I need 2GB of swap on a partition that has a lot of available disk space (e.g. /export/home).
# mkfile 2g /export/home/swap_file
2. Add the file to the swap area.
# swap -a /export/home/swap_file
Check the swap space info to verify.
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t0d0s1 136,1 16 4195280 4195280
/export/home/swap_file - 16 4194288 4194288
Posted by
Gliese581c
Thursday, June 04, 2009



Really awesome blog. I enjoyed reading review of "Adding swap space on Solaris" etc. I found that you really update
your site regularly that made me more interesting. I've bookmarked your site for my future use.
Thank you
sagar rai
Blogging Tips|Download Free CSS Templates
thank u........................................