Re: [opensuse] What's filling swap -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Friday 2008-02-15 at 03:18 -0000, David Bolt wrote:

> Start up top in a console. Then press shift-F, then press 'p', then
> press return. That will display a list of all the processes sorted in
> order of which one is using the most swap.

Curious!

The sum of memory used is much larger than the used swap in my machine:

top - 21:50:57 up 1 day, 15:21, 35 users,  load average: 0.78, 0.69, 0.72
Tasks: 247 total,   1 running, 245 sleeping,   0 stopped,   1 zombie
Cpu(s): 10.2%us,  3.3%sy,  0.0%ni, 85.5%id,  0.3%wa,  0.6%hi,  0.0%si,  0.0%st
Mem:   1035972k total,   948016k used,    87956k free,    35084k buffers
Swap: 12594880k total,   688312k used, 11906568k free,   504548k cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  SWAP COMMAND
14475 cer       15   0  716m  33m 1656 S  0.3  3.3   3:04.49 682m java.bin
  6080 cer       15   0  258m 7612 3100 S  0.0  0.7   1:00.31 250m gimp-2.2
26698 cer       15   0  195m 3832  760 S  0.0  0.4   1:00.68 191m java.bin
27273 cer       15   0  147m 9.9m 6100 S  0.0  1.0   0:12.99 137m gedit
  4943 root      17   0  138m  776  536 S  0.0  0.1   0:07.19 137m nscd
  3806 wwwrun    15   0  139m 5920  920 S  0.0  0.6   2:39.40 133m ntop
  5638 cer       15   0  142m  11m 6156 S  0.0  1.1   0:54.52 131m nautilus
  5662 cer       15   0  145m  15m 4228 S  3.0  1.5   2:48.92 130m gnome-terminal
27227 cer       15   0  165m  36m  16m S  0.0  3.6   0:17.68 129m firefox-bin
  5637 cer       15   0  122m  13m 7808 S  1.0  1.3  12:02.35 109m gnome-panel
  5533 root      15   0  132m  25m 6248 S  5.0  2.5  32:36.12 106m X
  4745 mysql     15   0  106m  872   92 S  0.3  0.1   0:36.42 105m mysqld
5A 5694 cer       18   0  108m 3320 2500 S  0.0  0.3   0:01.59 105m nm-applet
  5683 cer       18   0  107m  10m 3228 S  0.0  1.1   0:09.98  96m opensuse-update
  5997 cer       15   0 93616 3716 2212 S  0.0  0.4   0:08.55  87m mixer_applet2
   ....

That adds to 2713 m, and there are more in the list i haven't summed. There most be holes, or
reused chunks :-?


And if I add the "swap" column, it doesn't match either.

- -- 
Cheers,
        Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHtfy0tTMYHG2NR9URAjQtAJ9zw18ZQldy5gk/tDzGG/EsCSIk2gCfaS22
mK6hELpy42OMsDdbqpjEnzg=
=rNNs
-----END PGP SIGNATURE-----


