Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alan@shodha.dec.com ( Alan's Home for Wayward Notes File.)
Subject: Re: average load statistics on DS300?
Date: 3 Mar 90 00:13:17 GMT	[thread overview]
Message-ID: <797@shodha.dec.com> (raw)
In-Reply-To: 33@thoreau.nsc.com

In article <33@thoreau.nsc.com>, macomber@thoreau.nsc.com (Robert Macomber) writes:
> 
> I'm having trouble extracting average load statistics on a DS3100.
> It's a loaner machine running ULTRIX (version 3.0, I think).
> I've tried compiling the "stats" remote statistics server and the "top"
> performance monitor, but both come up with zero values for the avenrun
> variables.  There must be some way, because "xload" seems to work
> okay.

	The load average is stored in a data structure called
	"avenrun" (you probably already know this).  On a VAX
	system type of avenrun is double.  On the DECstation it
	is type "fix".  There is an include file you'll be interested
	in called <sys/fixpoint.h>.  To convert fix to double use
	FIX_TO_DBL().

> 
> Thanks in Advance.

	You're welcome.

> -- 
> 			Robert L. Macomber
-- 
Alan Rollow				alan@nabeth.enet.dec.com


  reply	other threads:[~1990-03-03  0:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-03-02 20:09 average load statistics on DS300? Robert Macomber
1990-03-03  0:13 `  Alan's Home for Wayward Notes File. [this message]
1990-03-03 17:19   ` Brain in Neutral
1990-03-07  0:55   ` Mark Litwack
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