On Fri, Dec 29, 2000 at 09:06:25PM -0600, will trillich wrote: > when i try "w" it says '3 users' but only shows me. > % w > 9:03pm up 105 days, 21:22, 3 users, load average: 0.00, 0.00, 0.00 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > will pts/0 wdt 9:02pm 0.00s 0.37s 0.04s w > > when i try "who" it shows me, three times > > % who > will pts/0 Dec 29 21:02 (wdt) > will pts/1 Dec 21 21:44 (wdt) > will pts/2 Oct 12 14:54 (wdt) > > but there's only one of me! > > % ls -l /dev/pts > total 0 > crw------- 1 will tty 136, 0 Dec 29 21:04 0 > > what's up with this? /var/run/utmp is corrupt. this unfortunatly happens sometimes. the only way i know to fix it is to zero out /var/run/utmp, but i only do that at single user mode otherwise it ends up inconsistent again anyway (since you must be logged into to do it...) -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgp7z85edmpUl.pgp
Description: PGP signature