Could try this one......

while true; do clear;ps r -eo comm,pcpu,pid; sleep 1;done

man ps

for alot more options.

HTH's


On 1/11/08, Kain, Becki (B.) <[EMAIL PROTECTED]> wrote:
>
> I care because I'm trying to figure out what threads of certain
> processes are continuing to run at 99% of a cpu.  I'd like to know what
> the system is considering "system space" in top's calculation of system
> space.
>
> I'm trying to solve a reoccurring pegging of the cpu's issue.  If there
> is another set of commands that I should be using, please let me know
>
> Thanks
>
>
> -----Original Message-----
> From: Randall R Schulz [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 11, 2008 2:51 PM
> To: opensuse@opensuse.org
> Subject: Re: [opensuse] Top/lsof
>
> On Friday 11 January 2008 10:33, Kain, Becki (B.) wrote:
> > I read the man page of top but it's not helpful for this question.
> > When top tells me cpu0 is being used 50.0% by sys, cpu1 is being used
> > 65.7% by system space, how do I break down what processes are making
> > up that 65.7%, in system space, of the cpu?  And in lsof, how do you
> > tell which cpu a process id's threads are tied to?
>
> Why do you care?
>
> I tends to shift rapidly, so programs like top that update once per
> second or so can't follow these changes, anyway.
>
> And I don't see how "lsof" is relevant at all.
>
>
> Randall Schulz
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to