About Swap space and Virtual Memory

liu bo liubolyuha at gmail.com
Wed Mar 31 01:56:04 PDT 2010


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 %MEM    TIME+  COMMAND
            693m 657m  35m 8780 S    0      2.0            0:51.46  X

I don't know how to explain the two conflicted data above.

Thank you very much.

-------------- The result of top command
--------------------------------------------------------------------------------
Tasks:  94 total,   1 running,  93 sleeping,   0 stopped,   0 zombie
Cpu(s):  2.0%us,  1.0%sy,  0.0%ni, 97.0%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:   1797448k total,   508568k used,  1288880k free,    13864k buffers
Swap:   307192k total,        0k used,   307192k free,   167212k cached

  PID USER  PR  NI  VIRT SWAP RES  SHR S %CPU %MEM    TIME+  COMMAND
  460 root      20   0   693m 657m  35m 8780 S    0  2.0   0:51.46
X
  721 liubo     20   0   618m 457m 160m  34m S    4  9.2   2:29.25
firefox-bin
  541 liubo     20   0   209m 193m  15m  12m S    0  0.9   0:00.40
clock-applet
---------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20100331/f8004b73/attachment.html>


More information about the lfs-support mailing list