From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1405def12daa5081 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1990-03-02 16:13:17 PST Path: gmdzi!unido!mcsun!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. Posted: Sat Mar 3 01:13:17 1990 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