Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!ai-lab!life.ai.mit.edu!mycroft From: mycroft@kropotki.gnu.ai.mit.edu (Charles Hannum) Newsgroups: comp.unix.programmer Subject: Re: Question about rstat() Message-ID: Date: 28 May 91 03:02:57 GMT References: <5110@autodesk.COM> Sender: news@ai.mit.edu Organization: /home/fsf/mycroft/.organization Lines: 15 In-reply-to: troyt@Autodesk.COM's message of 24 May 91 18:11:11 GMT In article <5110@autodesk.COM> troyt@Autodesk.COM (Troy Taylor - Network Dude) writes: I'm trying put together a small utility that will check cpu status of remote Sun servers. It seems like the rstat() utility will do the job, except I'm not too sure how to interpret the info... If that's really all you want, then it looks like you want: CPU - user cp_time_0 51130 CPU - nice cp_time_1 1412 CPU - system cp_time_2 48213 CPU - idle cp_time_3 573995 There may be more than four CPU states on your machine, in which case these will not add up to the total picture.