home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / ultrix / 6305 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!fmsrl7!ef2007!mjo
  2. From: mjo@ef2007.efhd.ford.com (Mike O'Connor)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: w and ps don't agree
  5. Message-ID: <Bt6Lty.Cv7@ef2007.efhd.ford.com>
  6. Date: 18 Aug 92 13:37:10 GMT
  7. References: <1992Aug17.081549.12346@trl.oz.au>
  8. Reply-To: Mike O'Connor <mjo@fmsrl7.srl.ford.com>
  9. Organization: International Affairs, Overseas Engineering, "Fordz"
  10. Lines: 19
  11. X-Disclaimer: Not an official spokesperson for Ford OPEO
  12.  
  13. In article <1992Aug17.081549.12346@trl.oz.au> gheeong@rhea.trl.OZ.AU
  14. (Ghee Ong) writes:
  15.  
  16. :The output from 'w' shown below indicates a user is logged in but ps -t<port>
  17. :gives no processes. How can I clean up the output without rebooting and what
  18. :causes it?
  19.  
  20. /etc/utmp is hosed.  This can result from a variety of conditions --
  21. usually X-based, but not necessarily so.  I believe there are utmp
  22. editors out there in the alt.sources archives -- utmp isn't a plain
  23. text file.  Or one could just "cat /dev/null > /etc/utmp" and it'll
  24. rebuild itself.
  25.  
  26.                         ...Mike
  27. -- 
  28.  Michael J. O'Connor           |  Internet:  mjo@fmsrl7.srl.ford.com
  29.  Ford Motor Company, OPEO      |  UUCP:      ...!{backbone}!fmsrl7!mjo
  30.  20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
  31.  Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277
  32.