You are not logged in.

#1 2008-12-06 23:18:42

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

What is in swap

Is there a way to see which apps have been swapped?

Or maybe something more low-level if it's not possible.

Thanks!


(lambda ())

Offline

#2 2008-12-07 02:39:59

tesjo
Member
Registered: 2007-11-30
Posts: 164

Re: What is in swap

You could try top.
run top
f - to get to interactive mode
p - enable swap coluumn
enter (or other key) - back to display
W - write .toprc so swap is on be default

Offline

#3 2008-12-07 11:10:53

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: What is in swap

I get strange results with it.

I just booted my PC (I turn it off over the night) and there's no swap being used, as top itself shows:

Mem:    319356k total,   278588k used,    40768k free,    13216k buffers
Swap:   497972k total,        0k used,   497972k free,   130092k cached

But then it shows that firefox is using 108m on the column swap:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  SWAP COMMAND                                                                                               
 3766 root      19  -1 72604  27m 4548 S 29.8  9.0   0:59.64  42m X                                                                                                      
 3815 andre     20   0  196m  88m  21m S 14.4 28.4   1:56.06 108m firefox

(lambda ())

Offline

Board footer

Powered by FluxBB