Re: [CentOS] Swap memory: I can't reconcile this stuff.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





Kai Schaetzl wrote:

William L. Maltby wrote on Mon, 05 Jun 2006 18:45:10 -0400:

24729  127m  32m  15m  4.3  94m evolution

It looks to me like top is using a different definition of swap. If you compare you see that SWAP shows the difference between VIRT and RES almost exactly. However, if there is no or almost no swap usage how can there be a difference? Only explanation: it shows what *could* be swapped immediately without affecting current activity. Have you tried making it heavily swap and then checked if you see a difference (whichever)? Theoretically, it shouldn't make a difference as it doesn't seem to differentiate between "swapped" and "really swapped".

Kai
Kai,

I think you hit the nail on the head. According to man ps, the swap size shown by ps is exactly what you say.. the amount of memory it would take if the process were swapped out.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux