From: "José Toneh" <tohnehn@yahoo.com.br>
To: linux-kernel@vger.kernel.org
Subject: wrong SWAP values in top's output
Date: Fri, 16 Dec 2005 09:08:26 +0000 (GMT) [thread overview]
Message-ID: <20051216090826.10626.qmail@web35007.mail.mud.yahoo.com> (raw)
Hello,
I'm running Debian Sarge's stock 2.6 kernel here:
$ uname -a
Linux localhost 2.6.8-2-k7 #1 Thu May 19 18:03:29 JST 2005 i686 GNU/Linux
$ vmstat -s | grep -1 'used swap'
799992 total swap
463680 used swap
336312 free swap
$ top -bn1 | awk 'NR > 6 && NR < 20 { t += $4; print }
> END { print "Total SWAP for the first 12 processes: " t "m" }'
PID %MEM VIRT SWAP RES CODE DATA SHR nFLT nDRT S PR NI %CPU COMMAND
18551 14.1 345m 273m 71m 1712 343m 101m 1373 0 S 5 -10 4.0 XFree86
25397 49.5 505m 255m 249m 164 505m 40m 3700 0 S 15 0 2.0 mozilla-bin
24759 0.5 236m 234m 2416 16 236m 54m 138 0 S 17 0 0.0 java_vm
3107 4.6 113m 89m 23m 164 112m 34m 1462 0 S 15 0 0.0 mozilla-bin
31064 1.5 65956 57m 7572 568 63m 19m 291 0 S 15 0 0.0 beep-media-
27359 0.2 51756 49m 1224 124 50m 2424 0 0 S 25 0 0.0 pdnsd
19098 3.0 45592 29m 15m 960 43m 15m 368 0 S 15 0 0.0 nicotine
18653 1.9 37656 27m 9684 644 36m 19m 472 0 S 16 0 0.0 nautilus
16887 1.6 27544 18m 8416 428 26m 14m 146 0 S 15 0 0.0 xchat
12479 3.1 33560 16m 15m 428 32m 14m 147 0 S 15 0 0.0 xchat
18615 0.4 17832 15m 1932 52 17m 3572 320 0 S 16 0 0.0 gconfd-2
18628 0.8 18896 14m 4332 160 18m 17m 6 0 S 16 0 0.0 gnome-setti
Total SWAP for the first 12 processes: 1076m
Seems like a bug to me.
Regards,
José Toneh
_______________________________________________________
Yahoo! doce lar. Faça do Yahoo! sua homepage.
http://br.yahoo.com/homepageset.html
next reply other threads:[~2005-12-16 9:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-16 9:08 José Toneh [this message]
2005-12-17 13:08 ` Jan Knutar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051216090826.10626.qmail@web35007.mail.mud.yahoo.com \
--to=tohnehn@yahoo.com.br \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®