need help understanding swap space usage
2007-12-24 21:30:00
I need some clarification about swap space on SUN. I know it uses /tmp.
while slicing the system when you assign for example 2048m to slice 1
(swap), the OS adds to the assigned space, available RAM also making space
available - RAM + assigned physical space. Question is how does swap use
this space. Meaning, does swap use available RAM space first then physical?
This leads me into my next problem, I have a server with 2gb swap (physical)
space assigned :
nfcbpsa.root->swap -l
swapfile dev swaplo blocks free
/dev/vx/dsk/swapvol 136,5 16 4194272 1528128
/tmp is using up only about 1gb
nfcbpsa.root->du -sk /tmp
1024568 /tmp
but when I do df -k /tmp, I see this
Filesystem kbytes used avail capacity Mounted on
swap 1329376 1024520 304856 78% /tmp
Shouldn't I see atleast 2gb of space assigned instead of seeing 1.3gb as
above? Can you please explain.
Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Comments
Got something to say?
You must be logged in to post a comment.

