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

  1. Path: sparky!uunet!pipex!unipalm!uknet!mcsun!corton!ircam!fingerhu
  2. From: fingerhu@ircam.fr (Michel Fingerhut)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: w and ps don't agree
  5. Message-ID: <1992Aug19.071445.4360@ircam.fr>
  6. Date: 19 Aug 92 07:14:45 GMT
  7. References: <1992Aug17.081549.12346@trl.oz.au> <Bt6Lty.Cv7@ef2007.efhd.ford.com>
  8. Organization: IRCAM, Paris (France)
  9. Lines: 16
  10.  
  11. gheeong@rhea.trl.OZ.AU (Ghee Ong) writes about w showing:
  12.  
  13.     User  tty  from          login@  idle  JCPU  PCPU  what
  14.     jjk   p5   vistaxx       5Aug92 212days             -
  15.  
  16. Mike O'Connor <mjo@fmsrl7.srl.ford.com> responds:
  17.  
  18. > /etc/utmp is hosed.  This can result from a variety of conditions --
  19. > usually X-based, but not necessarily so.  I believe there are utmp
  20. > editors out there in the alt.sources archives -- utmp isn't a plain
  21. > text file.  Or one could just "cat /dev/null > /etc/utmp" and it'll
  22. > rebuild itself.
  23.  
  24. Well, not good enough.  This indeed frees the utmp entry, but that
  25. particular pty is still unusable.  After a while, many such ptys become
  26. unusable, and the only way I found was to reboot.  Any other ideas?
  27.