Newsgroups: comp.sys.next Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!cardamom.engin.umich.edu!dejnsen From: dejnsen@caen.engin.umich.edu (Nik Anthony Gervae) Subject: CPU load function? Message-ID: <1991Apr8.063438.8964@engin.umich.edu> Sender: news@engin.umich.edu (CAEN Netnews) Organization: University of Michigan Engineering, Ann Arbor Distribution: all Date: Mon, 8 Apr 1991 06:34:38 GMT I'm looking for a C or Mach function that will get me the percent usage/load of the CPU at any one time. If anyone knows of such a beastie, please email me (or post it I guess). I need it (or something like it) to implement a NeXTstep version of a nifty thing I've seen called xload on Suns here at Michigan....will be my first NS app too.... And FYI: my last posting seems to have got munged. I have uploaded fixrtf to cs.orst.edu and sonata.cc.purdue.edu. They should be in their proper places sometime soon. My apologies to the archive folks if I've done it wrong.... Nik -- / Nik Gervae aka dejnsen@caen.engin.umich.edu | "It'll be finished next week, \ | CS/Linguistics stud. & NeRD at UM (go blow) | I promise!"--me | | | | | **When all else fails, bug someone who | "Just say an iguana chewed | \ knows (not me!). | up your textbook."--Jason Fox /