Gentoo Archives: gentoo-security

From: Christophe Garault <christophe@×××××××.org>
To: gentoo-security@l.g.o
Subject: Re: [gentoo-security] strange "top"?
Date: Wed, 26 Apr 2006 15:42:52
Message-Id: 444F9384.2090601@garault.org
In Reply to: [gentoo-security] strange "top"? by Alex
1 Alex wrote :
2
3 >Recently, I have noticed one our servers (running Gentoo) shows something
4 >strange in the "top" command.
5 >
6 >The CPU usage % column shows *integer* values intead of *decimal*.
7 >
8 >
9 Hi Alex,
10
11 I had exactly the same symptoms and emailed Albert D. Cahalan which name
12 is mentioned in the man page for bugs. Unfortunately I didn't received
13 any reponse so far. Here is a copy of the mail I sent him:
14
15 Hi Albert,
16
17 I'm writting to you because your name is mentionned in the top man page.
18 If you're not concerned accept my apologies.
19
20 Looking at the time used by john the ripper to verify my users's password,
21 I noticed that it was displayed in a strange way for this process only as
22 you can see on this page:
23 http://christophe.garault.free.fr/top.gif
24
25 At the same time I looked at the process stat, but I'm not familiar at all
26 with what is called jiffies, so I don't know how to interpret these
27 values, nor as how to correlate them with what top displays.
28
29
30 marge 565 # cat stat
31 565 (john) R 1 565 21379 0 -1 0 1418 0 134 0 25034157 40796 0 0 19 19 0
32 100 484316767 7073792 1434 4294967295 134512640 134628740 3221222240
33 3221221388 134610107 0 0 0 8413187 0 0 0 17 0
34 marge 565 #
35
36 Could you explain that to me or refer to a place where explanation is given?
37
38 Thanks in advance.
39
40 --
41 Regards.
42 Christophe Garault
43
44
45 --
46 gentoo-security@g.o mailing list