gibbsie.org Knowledge Base

Swap space in Solaris 10

Aug 7th 2008
No Comments
respond
trackback

Makes an empty 10 Megabyte swap file in /export/disk:
# mkfile -nv 10m /export/disk1/myswap

Makes a 10 Megabyte swap file in /export/disk:
# mkfile -v 10m /export/disk1/myswap

Add a swap file:
# swap -a /export/disk1/swapfile

Delete a swap device:
# swap -d /dev/dsk/c0t0d0s4

List the current swap devices:
# swap -l

List the amount of swap space available:
# swap -s


This post is tagged , ,

No Comments

Leave a Reply