[resending - forgot to CC: the bug]
Craig Small wrote:
> On Mon, Jul 12, 2010 at 10:48:14AM +0600, Alexander E. Patrakov wrote:
> > For some processes on my Linode VPS (in other words, a Xen guest), top
> > displays nonsense runtimes such as 5124095 hours. Attached is a gzipped
> > file produced by this command:
> Does ps show the same sort of problems as well?  Both top and ps have
> common code so I would expect this to be the case. ps <pid> will show
> this.
> 
> I'm not sure if you are talking about the default TIME+ column or
> something else.

Yes, I am talking about TIME+, which contains "5124095h" for all four
"wrong" processes and sensible values for everything else.

> Let's pick on one PID on your setup, giving one process that looks
> "wrong", can you send me the output of:

$ ps 8878
  PID TTY      STAT   TIME COMMAND
 8878 ?        S    21114574:25
python /usr/share/pyshared/trac/web/fcgi_fronten

$ grep cpu /proc/stat
cpu  497530 5241 284260 1375355973 201909 17 4756 19904 0
cpu0 152371 32 65340 343647977 59630 3 1568 7938 0
cpu1 156532 552 118676 343704589 79651 9 2066 5001 0
cpu2 97858 4317 40152 344016921 40194 3 844 4040 0
cpu3 90769 339 60091 343986484 22432 1 277 2924 0

$ cat /proc/uptime
1721865.10 13753609.46

$ cat /proc/8878/stat
8878 (python) S 8866 8865 8865 0 -1 4202496 7038 0 0 0 1844394016732
280348245 0 0 20 0 1 0 130606738 219033600 5560 18446744073709551615
4194304 6410804 0 0 0 0 0 16781312 16387 18446744073709551615 0 0 17 0 0
0 0 0 0

-- 
Alexander E. Patrakov





-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to