Bug 89035
Summary: | top showing 0% cpu and 0% mem for all proccesses | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Adrian Likins <alikins> | ||||
Component: | procps | Assignee: | Alexander Larsson <alexl> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9 | CC: | kjetilho | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-04-28 10:46:05 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Adrian Likins
2003-04-16 19:15:39 UTC
Created attachment 91154 [details]
top -b -n1 output
same thing has happened to me, kernel 2.4.20-2.48smp and glibc-2.3.2-27.9 Its very strange that all TIME field are zero. That would seem to indicate that both utime and stime are zero. Can you paste in /proc/$pid/stat for some process when this happens? Also, are you using LD_ASSUME_KERNEL or anything strange thread-related? /proc/pid/stat works: 11278 (slurpcpu) R 11257 11278 11102 34834 11281 0 20 0 60 0 1180 0 0 0 25 0 0 0 84160728 1380352 58 4294967295 134512640 134513592 3221218944 3221218864 134513412 0 0 0 0 0 0 0 17 0 1180 0 0 0 11278 (slurpcpu) R 11257 11278 11102 34834 11283 0 20 0 60 0 1538 0 0 0 25 0 0 0 84160728 1380352 58 4294967295 134512640 134513592 3221218944 3221218864 134513412 0 0 0 0 0 0 0 17 0 1538 0 0 0 11278 (slurpcpu) R 11257 11278 11102 34834 11285 0 20 0 60 0 2047 0 0 0 25 0 0 0 84160728 1380352 58 4294967295 134512640 134513592 3221218944 3221218864 134513412 0 0 0 0 0 0 0 17 0 2047 0 0 0 I do use LD_ASSUME_KERNEL on threaded applications which need it (Mozilla, Python etc.), but not on the system as a whole. Ah, I see what's happening. Thats not the final RHL9 kernel. It doesn't have the &P->rtprio, &P->policy, fields in /proc/$pid/stat, so the fields added to stat in that kernel version are incompatible. You need to upgrade the kernel. |