Mailinglist Archive: opensuse (3318 mails)

< Previous Next >
Re: [opensuse] Top/lsof
  • From: Aaron Kulkis <akulkis00@xxxxxxxxxx>
  • Date: Fri, 11 Jan 2008 14:17:59 -0500
  • Message-id: <4787C0E7.3050803@xxxxxxxxxx>
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?

One, you can't
Two, it doesn't matter much.

"sys" merely correlates to time spent executing
system-calls (i.e. kernal calls), whereas "user"
correlates to the time spent executing code outside
of the kernel.


As far as lsof... try this:

ps -ef | grep lsof

once you get the PID of the lsof process(es), you
can grep for them:

ps -ef | grep _PID_of_lsof_goes_here


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References