tags 267873 upstream forwarded 267873 [EMAIL PROTECTED] found 267873 1:3.2.5-1 retitle 267873 procps: top manual page is inaccurate about the SWAP/RES fields thankyou
On Tue, Aug 24, 2004 at 10:10:34PM +0200, Romain GUILLERET wrote: > On my system (running Kernel 2.6.6), according to the manual page, > RES=CODE+DATA. In practice, it is CODE+DATA-SWAP. > I suppose that all pages mapped in memory but not loaded are counted in > the SWAP section, not only pages on the swap partition. You forgot to mention for which program, it is for top. The you've picked up something, but the problem is more widespread. The manual page says that CODE and DATA are supposed to be the physical memory, which means RES should be CODE+DATA. top has some wonderful ways of moving columns around, so I get the output below, but the numbers don't make much sense. RES CODE DATA SWAP PID COMMAND 42m 10m 106m 94m 23303 firefox-bin 29m 148 70m 68m 23193 evolution-2.2 6624 20 57m 62m 23217 evolution-data- 8580 84 49m 60m 23191 evolution-alarm 1840 40 40m 43m 5558 nscd 25m 1512 17m 136m 6239 XFree86 8852 392 17m 30m 23211 evolution-excha 13m 632 12m 17m 23179 nautilus 12m 252 12m 17m 23195 gnome-terminal 10m 420 10m 15m 23636 xchat 12m 440 10m 15m 23181 gnome-panel 3988 80 8788 11m 23200 gnome-vfs-daemo 3888 3512 7132 8584 6040 Xprt 8216 52 6592 1340 23130 gconfd-2 11m 708 3532 7220 23189 gkrellm 14m 804 3388 10m 23183 gaim 3196 256 3244 3060 22967 cupsd -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 Eye-Net Consulting http://www.enc.com.au/ MIEE Debian developer csmall at : enc.com.au ieee.org debian.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]