🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #5706

Re: average load statistics on DS300?

#5706
From: Alan's Home for Wayward Notes Fi...
Date: Sat, 03 Mar 1990 00:13
25 lines
1406 bytes
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
Technical Details
Message-ID: <797@shodha.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!wuarchive!decwrl!shlump.nac.dec.com!shodha.dec.com!alan
References: <33@thoreau.nsc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!wuarchive!decwrl!shlump.nac.dec.com!shodha.dec.com!alan
From: alan@shodha.dec.com ( Alan's Home for Wayward Notes File.)
Newsgroups: comp.sys.dec
Subject: Re: average load statistics on DS300?
Summary: A new data type...
Keywords: avenrun top stats rstatd
Message-ID: <797@shodha.dec.com>
Date: 3 Mar 90 00:13:17 GMT
References: <33@thoreau.nsc.com>
Organization: Digital Equipment Corp. - Colorado Springs, CO.
Lines: 25