* CPU load
@ 2003-11-04 10:14 Saurabh Bhatt
2003-11-04 16:31 ` Eric de Redelijkheid
0 siblings, 1 reply; 2+ messages in thread
From: Saurabh Bhatt @ 2003-11-04 10:14 UTC (permalink / raw)
System - COMPAQ tru64 (ES45) with 4 CPUs
Objective - To calculate the CPU utilisation of each CPU separately.
Current Progress Level
======================
Using the table() system call with TBL_SYSINFO flag, I get certain
value for CPU utilisation (after some calculation with usr/nice/idle
etc). I assume that this is the net CPU utilization for all 4 CPUs.
I also tried table() function with TBL_PROCESSOR_INFO flag, but it
returns me a value greater than 100 for "load_avg" (in struct
tbl_processor).
Is my above assumption for net CPU utilisation correct?
Please help me find out a system call for calculating utilisation of
each individual CPU on my machine.
Please do not respond with user commands such as iostat/sar/aux etc.
because due to a system limitation we cannot execute these commands
from C code using "system" or "popen".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CPU load
2003-11-04 10:14 CPU load Saurabh Bhatt
@ 2003-11-04 16:31 ` Eric de Redelijkheid
0 siblings, 0 replies; 2+ messages in thread
From: Eric de Redelijkheid @ 2003-11-04 16:31 UTC (permalink / raw)
Anno Domini 4-11-2003 11:14, Saurabh Bhatt sprak aldus:
>System - COMPAQ tru64 (ES45) with 4 CPUs
>Objective - To calculate the CPU utilisation of each CPU separately.
>
>
>Please do not respond with user commands such as iostat/sar/aux etc.
>because due to a system limitation we cannot execute these commands
>from C code using "system" or "popen".
>
>
System limitations on an ES45 with 4 CPU�s?
(tried the collect utility already?)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-04 16:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-04 10:14 CPU load Saurabh Bhatt
2003-11-04 16:31 ` Eric de Redelijkheid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox