Hi,

I've used a number of different GUI tools to see memory usage but they seem 
to be telling me different things. 

So going back to CLI, top & ps

if I do a ps -aux
Can someone tell me what the VSZ & RSS figures mean
Real and Virtual according to man ps but I does that
equate to physical ram and swapspace or what ?
What about shared memory does ps not show this ?

equally in top I have 'size', 'RSS' and 'share'
This I understand a bit better I think but still
am not quite sure what it really means

example: star office writer
  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 1397 rob       11   0 57912  56M 41696 S     0.0 15.0   0:04 soffice.bin
 1421 rob        8   0 57912  56M 41696 S     0.0 15.0   0:00 soffice.bin
 1422 rob        9   0 57912  56M 41696 S     0.0 15.0   0:00 soffice.bin
 1423 rob        9   0 57912  56M 41696 S     0.0 15.0   0:00 soffice.bin
 1425 rob        9   0 57912  56M 41696 S     0.0 15.0   0:00 soffice.bin
 1429 rob        9   0 57912  56M 41696 S     0.0 15.0   0:00 soffice.bin

I'm going guess that there is 41Meg shared between all 6 processes
and then 15M per process that is non shared.
Making 90+41 = 131Meg used by Star Writer
No wonder it crawls on my laptop (fine on main machine)

But thats with me guessing that all 6 share the same 41M,

How do I tell for certain ?

Thanks (in advance)

Rob

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to