public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Help interpreting top(1) display
@ 2005-07-06  9:07 Alexander Kirillov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kirillov @ 2005-07-06  9:07 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Help interpreting top(1) display
       [not found]   ` <9acccfe505070517071e0be328@mail.gmail.com>
@ 2005-07-06 21:37     ` Adrian Chelar
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Chelar @ 2005-07-06 21:37 UTC (permalink / raw
  To: gentoo-user

no problem

----- Original Message -----
From: "Kevin O'Gorman" <kogorman@gmail.com>
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 <calvin.walton@gmail.com> wrote:
> > On 7/5/05, Kevin O'Gorman <kogorman@gmail.com> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-06 21:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <9acccfe505070510095411c80a@mail.gmail.com>
     [not found] ` <5c751a23050705110832ef5462@mail.gmail.com>
     [not found]   ` <9acccfe505070517071e0be328@mail.gmail.com>
2005-07-06 21:37     ` [gentoo-user] Help interpreting top(1) display Adrian Chelar
2005-07-06  9:07 Alexander Kirillov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox