Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* how to get real time cpuload
@ 2004-06-10 22:27 telus
  2004-06-10 22:55 ` telus
  0 siblings, 1 reply; 2+ messages in thread
From: telus @ 2004-06-10 22:27 UTC (permalink / raw)


Hi,
Is there a function we could call in C program to get the real-time snapshot
of cpu load or cpu load average of 5 second? The table(2) function could
only give us the 1, 5, 15 minutes average load.  I should not fork a child
process to execute vmstat in the program in this case.

Thanks,
Catherine




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

end of thread, other threads:[~2004-06-10 22:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 22:27 how to get real time cpuload telus
2004-06-10 22:55 ` telus

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