*BSD News Article 3532


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!samsung!nighthawk.clearpoint.com!transfer!m2c!nic.umass.edu!news.mtholyoke.edu!news.byu.edu!eff!sol.ctr.columbia.edu!usc!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!ogicse!psgrain!m2xenix!agora!davidg
From: davidg@agora.rain.com (David Greenman)
Newsgroups: comp.unix.bsd
Subject: Re: Where is the CPU load (in w and ps)?
Message-ID: <1992Aug9.133309.27175@agora.uucp>
Date: 9 Aug 92 13:33:09 GMT
Sender: davidg@agora.uucp (David Greenman)
Organization: Open Communications Forum
Lines: 14

cmenser@nyx.cs.du.edu (Charles Menser) writes:

>Under my new kernal, both ps and w work, but report 0 load average (w) and
>0 $CPU, %MEM, and RSS (ps). The 0 readings persist even after a full re-compile
>of the kernal.

   There is no support for RSS yet in the 386BSD kernel. %MEM is based on RSS.
%CPU does work, although it will be zero for any process that is swapped out
or has no accumulated CPU time. Load average works here...try running an end-
less loop and see if it changes gradually toward 1.

---
David Greenman
davidg%implode@agora.rain.com