Path: 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 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 . 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