top and ps CPU time problem 2005-11-07 - By Shane Dawalt
Back
I have RHEL v.3 WS on a dual AMD64 Sun box. Within the past couple days I've noticed that "top" isn't terribly happy with kernel statistics. Note the time information in the following "top" output.
08:48:42 up 2 days, 16:38, 6 users, load average: 1.17, 1.06, 0.91 108 processes: 105 sleeping, 3 running, 0 zombie, 0 stopped CPU states: cpu user nice system irq softirq iowait idle INVALID CPU time data! cpu00 - INVALID CPU time data! cpu01 - INVALID CPU time data! Mem: 2024736k av, 2005064k used, 19672k free, 0k shrd, 272232k buff 587092k actv, 942760k in_d, 76736k in_c Swap: 2048276k av, 0k used, 2048276k free 1426784k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 1 root 15 0 544 544 460 S 0.0 0.0 0:00 0 init 2 root RT 0 0 0 0 SW 0.0 0.0 0:00 0 migration/0 3 root RT 0 0 0 0 SW 0.0 0.0 0:00 1 migration/1 4 root 25 0 0 0 0 RW 0.0 0.0 1:06 0 keventd [snip]
The "INVALID CPU time data!" is the problem. If I let "top" run, various (random) reports of CPU time replaces these messages, but all of the reports appear bogus (one said 100% IRQ which is preposterous).
I've also noticed that "ps" is having problems determining %CPU utilization. I have a process that I _know_ runs at 20% or so, but "ps" consistantly tells me it is using 0.0% CPU which is just not so.
The last major update of the system was on September 29 when up2date updated a number of things including glibc. I had been running the older kernel (2.4.21-27). I updated to kernel Update 6 (2.4.21-37) last Friday thinking that it might resolve this issue, but it didn't help.
Anyone have a suggestion?
Shane
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|