[1942] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: w

daemon@ATHENA.MIT.EDU (Mike Sangrey)
Wed Oct 30 20:58:58 1996

To: redhat-list@redhat.com
In-reply-to: Your message of "Thu, 31 Oct 1996 00:42:11 GMT."
             <Pine.SOL.3.95.961031004114.21584A-100000@hammer.thor.cam.ac.uk> 
Date: Wed, 30 Oct 1996 20:56:08 -0500
From: Mike Sangrey <mike@sojurn.lns.pa.us>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

> On Thu, 31 Oct 1996, Timo Karjalainen wrote:
> 
> > > The "PCPU" and "WHAT" columns don't seem to be very useful, and I'm
> > > somewhat suspicious of JCPU as well.  Does anybody have a fix for this
> > > problem? 
> > 
> > rm /etc/psdevtab
> > 
> > ...and try w after that and it should work...
> 
> Cool, it worked.  What's psdevtab for, exactly, and how did I end up with
> a broken one?
>

From the man page for ps:
       To perform the device number to name mapping ps  maintains
       a  file  called  "/etc/psdevtab"  (updated whenever "/dev"
       becomes newer and permissions allow update).   If  permis-
       sions do not allow update, every invokation of ps requires
       a stat(2) of every  file  in  the  "/dev"  directory.   If
       "/dev"  changes  often on your system you should run ps as
       root often. ;-)  I may add a  fallback  file  under  $HOME
       under force of popular demand.

-- 
  Mike Sangrey	<mike@sojurn.lns.pa.us>	(Home)
		<Mike.Sangrey@specmarkmet.com>(Work)
	"I've trademarked `William Della Croce, Jr.(tm)'.
		  Anyone using this name owes me $1,000,000."



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post