Could someone please explain how you know how much swap space you have on your system. See below:
# swap -s
total: 8225048k bytes allocated + 4863488k reserved = 13088536k used, 4008032k available
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c3t0d0s1 32,25 16 4100912 4100912
/data/swap/swap2048m - 16 4194288 4194288
#format
1 swap wu 0 - 402 1.96GB (403/0/0) 4100928
#df -h
swap 3.8G 1.0M 3.8G 1% /etc/svc/volatile
swap 3.8G 144K 3.8G 1% /tmp
swap 3.8G 48K 3.8G 1% /var/run
admin@sealyaus1 # swap -s
total: 8215744k bytes allocated + 4867656k reserved = 13083400k used, 4013088k available
total: 8215744k bytes allocated - the total amount of swap space, in units of 1024-byte blocks, that is currently allocated as disk-backed swap space.
4867656k reserved - the total amount of swap space, in units of 1024-byte blocks, that is not currently allocated but is claimed by memory for future use.
13083400k used - the total amount of swap space, in units of 1024-byte blocks, that is allocated plus reserved.
4013088k available - the total amount of swap space, in units of 1024-byte blocks that is currently available for future use (ie for reservation and allocation)
The total = 8215744k from swap -s command
using format = 1.96GB
df -h = 3.8GB
Does the total from the 2 swap spaces in the swap -l command equal the df -h value ie
1.96GB + 2048mb, if so where does the rest come from to get total 8215744k
Thanks