From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8d8f2faf86e39c3f,start X-Google-Attributes: gid1164f8,public From: Paul Bourke Subject: determining load average Date: 1999/07/14 Message-ID: <378BE579.CB9E6404@swin.edu.au>#1/1 X-Deja-AN: 500744516 Content-Transfer-Encoding: 7bit X-Trace: lucille.cc.swin.edu.au 931915129 11609 136.186.12.84 (14 Jul 1999 01:18:49 GMT) Organization: Astrophysics and Supercomputing Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.sys.dec X-Complaints-To: abuse@swin.edu.au How does one getting the machine load? I'm about to do some parallel animations on a Dec farm (UNIX) and would like to check the load from my C source and not use that machine if the load is too high. Sure I can system("uptime") and parse the result....yuk. Surely there's a cleaner "standard" way? -- ----------------------------- P a u l B o u r k e mailto:pbourke@swin.edu.au http://www.mhri.edu.au/~pdb/ Phone: 61 3 9214 5828 Fax: 61 3 9819 0856 -----------------------------