Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Tony Verhulst <verhulst@zk3.dec.com>
Subject: Re: average load
Date: Thu, 28 Jun 2001 18:01:46 -0400	[thread overview]
Message-ID: <3B3BA94A.8C1AB2C1@zk3.dec.com> (raw)
In-Reply-To: 9hg6g0$u6$07$1@news.t-online.com

Chris wrote:
> 
> 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.


I see you already know about table() but maybe you missed TBL_LOADAVG in
the  man page for table(2) and /usr/include/table.h. It may not help,
that's what w(1) uses.

 Tony V.


  reply	other threads:[~2001-06-28 22:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-28 21:10 average load Chris
2001-06-28 22:01 ` Tony Verhulst [this message]
2001-06-29 19:04   ` Chris
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox