From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,92658dd14a253e50,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-06-28 14:19:52 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!freenix!grolier!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Chris" Newsgroups: comp.unix.tru64 Subject: average load Date: Thu, 28 Jun 2001 23:10:06 +0200 Organization: T-Online Message-ID: <9hg6g0$u6$07$1@news.t-online.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 993762624 07 966 0rPcSGlS6AnfC 010628 21:10:24 X-Complaints-To: abuse@t-online.com X-Sender: 340021385741-0001@t-dialin.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.unix.tru64:2740 How can I get the system load programmatically? I get the number of ready processes in the run queue through table() but that does not seem to agree with the numbers displayed by top and w. thanks