Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!dciem!nrcaer!cognos!brianc From: brianc@cognos.uucp (Brian Campbell) Newsgroups: comp.sources.wanted,comp.unix.questions,comp.unix.xenix Subject: Re: Load Average for System V? Message-ID: <1225@cognos.UUCP> Date: Fri, 7-Aug-87 12:29:07 EDT Article-I.D.: cognos.1225 Posted: Fri Aug 7 12:29:07 1987 Date-Received: Sun, 9-Aug-87 07:37:29 EDT References: <72@cipric.mn.org> <6189@brl-smoke.ARPA> Reply-To: brianc@cognos.UUCP (Brian Campbell) Organization: Cognos Incorporated, Ottawa, Canada Lines: 25 Xref: dciem comp.sources.wanted:1506 comp.unix.questions:2960 comp.unix.xenix:444 In article <72@cipric.mn.org> dad@ciprico.mn.org writes: ! Does anyone out there have a program to display the load average on ! System V, Release 2 (soon to be 3)? This is for a Motorola System 8000. In article <6189@brl-smoke.ARPA> gwyn@brl.arpa responds: ! If you have 5620 DMD terminals, try running "sysmon" in a layer. ! ! If /usr/include/sys/sysinfo.h exists, it describes a kernel data ! structure that you can read via /dev/kmem using the address of the ! symbol _sysinfo that nlist() on /vmunix will determine for you. ! The sysinfo structure runque and runocc members will allow you to ! compute the load average. Since sysinfo does not seem to be a ! documented feature, your implementation may not support it. Does anyone have the answer to this question for xenix 2.1.3? I've got the sysinfo include file, but an nlist informs me that the symbol is not defined. Has anyone written a 'top' type program for xenix? Is there somewhere I can get a little more information on some of the symbols defined in /xenix? What do the symbols prefixed with _dk, or _fl refer to? -- Brian Campbell uucp: decvax!utzoo!dciem!nrcaer!cognos!brianc Cognos Incorporated mail: 3755 Riverside Drive, Ottawa, Ontario, K1G 3N3 (613) 738-1440 fido: sysop@163/8