mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to find the CPU usage of a process
@ 2006-02-18 17:42 Irfan Habib
  2006-02-19 19:06 ` Chris Wedgwood
  0 siblings, 1 reply; 8+ messages in thread
From: Irfan Habib @ 2006-02-18 17:42 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm a research student, working on self-organizing
grids. 
I wanted to ask how can I find the cpu usage of a
process, as opposed to runtime, with cpu usage I mean
actually how many time slices were awarded to a
specific process, like the runtime of job may be 4 s,
but this also includes time it was suspended by some
interrupt, or had to wait for the scheduler etc..

What is the easiest way to do that? is their any
userlevel tool for it?
Thanks in advance

Irfan Habib

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 8+ messages in thread
* How to find the CPU usage of a process
@ 2006-02-18 17:42 Irfan Habib
  2006-02-18 18:44 ` Bernd Eckenfels
  0 siblings, 1 reply; 8+ messages in thread
From: Irfan Habib @ 2006-02-18 17:42 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm a research student, working on self-organizing
grids. 
I wanted to ask how can I find the cpu usage of a
process, as opposed to runtime, with cpu usage I mean
actually how many time slices were awarded to a
specific process, like the runtime of job may be 4 s,
but this also includes time it was suspended by some
interrupt, or had to wait for the scheduler etc..

Thanks in advance

Irfan Habib

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

end of thread, other threads:[~2006-02-20  0:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-18 17:42 How to find the CPU usage of a process Irfan Habib
2006-02-19 19:06 ` Chris Wedgwood
2006-02-20  0:42   ` Irfan Habib
  -- strict thread matches above, loose matches on Subject: below --
2006-02-18 17:42 Irfan Habib
2006-02-18 18:44 ` Bernd Eckenfels
2006-02-18 18:55   ` Ulrich Drepper
2006-02-18 19:27     ` Bernd Eckenfels
2006-02-18 20:15       ` Ulrich Drepper

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

all inboxes | Powered by JetHome®