About Swap space and Virtual Memory

2010-03-31 Thread liu bo
Hi all, Could anybody tell me whether the SWAP space of my computer is used? According to the information below, Swap: 307192k total,0k used But the SWAP property of some programs is NOT 0. VIRT SWAP RES SHR S %CPU %MEMTIME+ COMMAND 693m

Re: About Swap space and Virtual Memory

2010-03-31 Thread zzflop
On Wed, Mar 31, 2010 at 04:56:04PM +0800, liu bo wrote: Hi all, Could anybody tell me whether the SWAP space of my computer is used? According to the information below, Swap: 307192k total,0k used VIRT SWAP RES SHR S %CPU %MEMTIME+ COMMAND

Re: About Swap space and Virtual Memory

2010-03-31 Thread Danny Engelbarts
On Wednesday 31 March 2010 12:03:05 zzflop wrote: On Wed, Mar 31, 2010 at 04:56:04PM +0800, liu bo wrote: Hi all, Could anybody tell me whether the SWAP space of my computer is used? According to the information below, Swap: 307192k total,0k used

Re: About Swap space and Virtual Memory

2010-03-31 Thread liu bo
Danny, Mike, Thank you for your reply. I believe the SWAP column only displays the swappable memory chunk, not actual swapped memory. If you disable swap using swapoff -a you will see the SWAP column in top still contains the same values. In the man page of top command, the explanation of SWAP