From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b5d182dde161bcb9,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-09-04 00:23:16 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!dearn!frmop11.cnusc.fr!univ-lyon1.fr!scsing.switch.ch! xlink.net!howland.reston.ans.net!torn!watserv2.uwaterloo.ca!watmath!rbutterw From: rbutterw@math.uwaterloo.ca (Ray Butterworth [MFCF]) Subject: DEC ALPHA OSF1 V1.2, , FSCALE, and loadaverages. Message-ID: Sender: news@math.uwaterloo.ca (News Owner) Organization: Math Faculty Computing Facility, University of Waterloo Date: Fri, 3 Sep 1993 17:11:43 GMT When our software computes load averages, the values are slightly less than half those produced by the stock "uptime" command. Before printing them we were taking the values read from kmem and dividing them by FSCALE, which is defined in . But if we put this in our source: #undef FSCALE /* was 2048 in */ #define FSCALE 1000 /* this gives results like "uptime"'s */ our software gives the same values as "uptime". So, is FSCALE defined incorrectly in , or is there some other way we should be doing this, or is uptime actually reporting the wrong values?