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