Hello All!
we are working on project which requires calculation
of %cpu usages for each process running on a particular
machine.
So I want to know if the following is correct or not:
kernel.all.cpu.user + kernel.all.cpu.sys + kernel.all.cpu.idle = sum of
(proc.psinfo.stime + proc.psinfo.utime) all processes considered.
If its not appropriate, then please tell me the best way to calculate the
percentage usage of CPU for each process using PCP metrics.
Thank you,
With regards,
MadhuSudhan Reddy Tera
--------------------------------------------------
|Department of Computing and Information Sciences, |
|Kansas State University, |
|Manhattan, KS 66502. |
|ph no:785-537-3276 |
--------------------------------------------------
|