Pointers about CPU load measuring

Jose Marcio Martins da Cruz Jose-Marcio.Martins at ensmp.fr
Fri Apr 2 05:38:57 PST 2004



Hello,

Someone can send some pointers on how to measure global CPU load under 
FreeBSD from a C program ? I'm looking for values for idle/kernel/user, 
in a similar way as does top. Is there any pointer or doc ?. I'd like to 
avoir browsing top code.

Thanks

Jose-Marcio


-- 
  ---------------------------------------------------------------
  Jose Marcio MARTINS DA CRUZ           Tel. :(33) 01.40.51.93.41
  Ecole des Mines de Paris              http://j-chkmail.ensmp.fr
  60, bd Saint Michel                http://www.ensmp.fr/~martins
  75272 - PARIS CEDEX 06      mailto:Jose-Marcio.Martins at ensmp.fr



More information about the freebsd-hackers mailing list