*BSD News Article 20131


Return to BSD News archive

Xref: sserve comp.os.386bsd.bugs:1292 comp.os.386bsd.questions:4695
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!olivea!hal.com!darkstar.UCSC.EDU!cats.ucsc.edu!buhrow
From: buhrow@cats.ucsc.edu (Brian Buhrow)
Newsgroups: comp.os.386bsd.bugs,comp.os.386bsd.questions
Subject: PROBLEM WITH RUP, UPTIME, DF, AND OTHER SYSTEM STATISTICS
Date: 28 Aug 1993 02:16:29 GMT
Organization: University of California; Santa Cruz
Lines: 26
Distribution: world
Message-ID: <25mf5tINN5r3@darkstar.UCSC.EDU>
NNTP-Posting-Host: hobbes.ucsc.edu
Summary: Netbsd 0.9 seems to have poor system statistics



	Hello NetBSD/FreeBSD/386BSD world.  I'm running NetBSD 0.9 as taken
from the tar_files on NetBSD-current on sun-lamp.cs.berkeley.edu and
compiled up for use.  After compiling all of the necessary libraries,
utilities, and programs, I find that all works pretty much as advertised,
but whenever I use "rup", "uptime", "ps", "df", "swapinfo", or "uptime",
The statistics all  indicate 0.  
For example, 
%uptime
7:10pm up 1:10, 0.00, 0.00, 0.00

This when I know that the machine is compiling several things at once.  
I am not sure what the problem is, but I believe it is a library problem
because df always shows 0 disk space  used regardless of the amount of
available versus the amount used.  Likewise, ps always shows processes as
taking no cpu time and no memory even when they are in core and the
resident set size is reported as being over a megabyte.  
Swapinfo, shows the amount of space taken up with swapped stuff and the
amount of swap available before and after use, but always says that 0% of
the swap space is in use.  
	If anyone has any ideas as to which libraries might be at fault here,
or which part of the compiler might be at fault, please mail
me at <buhrow@cats.ucsc.edu>
-thank you very much for your responses.
-Brian