Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

confusing swap issue

Status
Not open for further replies.

nyck

Technical User
Joined
Mar 10, 2004
Messages
447
Location
GB
I have a v880 which has got 32GB of physical memory and 2 swap partitions which are 10GB & 8GB in size!

when i run top i get the following output:-

Memory: 32G Real, 7743M free, 27G swap in use, 1416M swap free

when i run swap -l i get the following output:-

swapfile dev swaplo blocks free
/dev/md/dsk/d12 85,12 16 16393520 16391488
/dev/dsk/c1t2d0s1 118,17 16 20972720 20970640

when i run swap -s i get the following:-

total: 20333512k bytes allocated + 8249304k reserved = 28582816k used, 1451816k available

These do not seem to tie up, can someone explain this to me as its causing grief?
 
It's confusing terminology. In Solaris "swap" and "swap space" (i.e. the bits on disk listed in swap -l) are different things. "swap" is the available virtual memory, the "27G swap in use" is the same figure as swapon -s reports as "28582816k used".

I know that's not the full story, but...

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top