Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!columbia!rutgers!husc6!cmcl2!brl-adm!brl-smoke!gwyn
From: gwyn@brl-smoke.ARPA (Doug Gwyn )
Newsgroups: comp.sources.wanted,comp.unix.questions
Subject: Re: Load Average for System V?
Message-ID: <6189@brl-smoke.ARPA>
Date: Tue, 28-Jul-87 14:46:38 EDT
Article-I.D.: brl-smok.6189
Posted: Tue Jul 28 14:46:38 1987
Date-Received: Thu, 30-Jul-87 01:27:49 EDT
References: <72@cipric.mn.org>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) )
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 12
Keywords: lav, load, load average, system v
Xref: mnetor comp.sources.wanted:1750 comp.unix.questions:3387

In article <72@cipric.mn.org> dad@ciprico.mn.org (Dan A. Dickey) 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.

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.