Solaris 10 -problem understanding swap space
I have 2 swap slices - 8GB and 3GB giving me a total 11GB swap.
root@sbc-san-01 # swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0d0s1 101,1 16 16777200 16777200
/dev/dsk/c0d0s7 101,7 16 6283248 6283008
However, when I run swap -s I get the following:
root@sbc-san-01 # swap -s
total: 7747424k bytes allocated + 1407128k reserved = 9154552k used, 9119568k available
Running top gives me:
Memory: 12G real, 340M free, 8947M swap in use, 8871M swap free
I expected to see a figure close to 11GB in the swap -s and top output but there isn’t.
7747424k bytes allocated + 1407128k - gives 9154552k
root@sbc-san-01 # swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0d0s1 101,1 16 16777200 16777200
/dev/dsk/c0d0s7 101,7 16 6283248 6283008
However, when I run swap -s I get the following:
root@sbc-san-01 # swap -s
total: 7747424k bytes allocated + 1407128k reserved = 9154552k used, 9119568k available
Running top gives me:
Memory: 12G real, 340M free, 8947M swap in use, 8871M swap free
I expected to see a figure close to 11GB in the swap -s and top output but there isn’t.
7747424k bytes allocated + 1407128k - gives 9154552k
1