Re: [gentoo-user] Help interpreting top(1) display
top reads some tick counters from /proc/stat provided by the kernel and defined as struct cpu_usage_stat { cputime64_t user; cputime64_t nice; cputime64_t system; cputime64_t softirq; cputime64_t irq; cputime64_t idle; cputime64_t iowait; cputime64_t steal; }; in kernel_stat.h You probably can guess the meaning better than I could: # time spent waiting for IO to complete wa=iowait # time spent within hardware interrupt handlers hi=irq # time spent within other critical sections within the kernel si=softirq -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help interpreting top(1) display
no problem - Original Message - From: Kevin O'Gorman [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Wednesday, July 06, 2005 3:07 AM Subject: Re: [gentoo-user] Help interpreting top(1) display Okay, thanks. They are indeed niced, because there are a lot of them, and I would like my keystrokes echoed sometime today OTOH, where can I read about the others? ++ kevin On 7/5/05, Calvin Walton [EMAIL PROTECTED] wrote: On 7/5/05, Kevin O'Gorman [EMAIL PROTECTED] wrote: Cpu0 : 1.3% us, 1.9% sy, 96.0% ni, 0.8% id, 0.0% wa, 0.0% hi, 0.0% si I'm running a bunch of compute-bound tasks, so I suppose the 'ni' fields indicate heavy use, but what exactly does 'ni' mean? And what do the other fields mean -- if the 'us' field means 'user' then I'm really baffled. The man page is most helpful in deciphering the task displays, but I was unable to find a part about the header fields. -- Kevin O'Gorman, PhD The full names for the first three are user, system, and nice. It appears that the tasks your are running are being run 'niced', see man nice. The priority is set to lower (or possibly higher, i'm not sure...) than regular tasks in the system, and the cpu usage shows up under nice instead of user. -- Calvin Walton -- Go back to the top: I almost always top-post Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help interpreting top(1) display
Okay, thanks. They are indeed niced, because there are a lot of them, and I would like my keystrokes echoed sometime today OTOH, where can I read about the others? ++ kevin On 7/5/05, Calvin Walton [EMAIL PROTECTED] wrote: On 7/5/05, Kevin O'Gorman [EMAIL PROTECTED] wrote: Cpu0 : 1.3% us, 1.9% sy, 96.0% ni, 0.8% id, 0.0% wa, 0.0% hi, 0.0% si I'm running a bunch of compute-bound tasks, so I suppose the 'ni' fields indicate heavy use, but what exactly does 'ni' mean? And what do the other fields mean -- if the 'us' field means 'user' then I'm really baffled. The man page is most helpful in deciphering the task displays, but I was unable to find a part about the header fields. -- Kevin O'Gorman, PhD The full names for the first three are user, system, and nice. It appears that the tasks your are running are being run 'niced', see man nice. The priority is set to lower (or possibly higher, i'm not sure...) than regular tasks in the system, and the cpu usage shows up under nice instead of user. -- Calvin Walton -- Go back to the top: I almost always top-post Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list