*BSD News Article 87882


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!hammer.uoregon.edu!arclight.uoregon.edu!news.algonet.se!eua.ericsson.se!erinews.ericsson.se!news
From: martti.kuparinen@era-t.ericsson.se Martti Kuparinen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Strange output from `w'
Date: 30 Jan 1997 16:28:41 GMT
Organization: Ericsson Telecom AB
Lines: 33
Distribution: world
Message-ID: <5cqi7p$muq@newstoo.ericsson.se>
NNTP-Posting-Host: kk130.ericsson.se
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34780

Hello FreeBSD community,

I have minor difficulties with the w command on my FreeBSD machine.
This is what I get when I'm executing `w' from console (and I'm
the only one logged in):

	 5:16PM  up 5 days, 21:30, 1 user, load averages: 0.01, 0.01, 0.00
	USER     TTY FROM              LOGIN@  IDLE WHAT
	erakupa  v0  -                 5:14PM     - w

So far so good. However, when executing `w' in a xterm I get this
weird result (the last two lines):

	 5:14PM  up 5 days, 21:28, 3 users, load averages: 0.08, 0.02, 0.01
	USER     TTY FROM              LOGIN@  IDLE WHAT
	erakupa  v0  -                 5:14PM     - xinit /home/erakupa/.xinitrc --
	0            upa              01Jan70 15:14 -
	a×ð2ttyp     1                01Jan70 15:14 -

And here output from `uname -a':
	FreeBSD sl3 2.2-961014-SNAP FreeBSD 2.2-961014-SNAP #0: Tue Dec 10
	19:17:42 MET 1996   etxgnon@sl3.xnet.se:/usr/src/sys/compile/sl3  i386

Any ideas how to fix this? What is corrupting /var/run/utmp ?

/Martti
-- 
___________________________________________________________________________
Ericsson Telecom AB / SwitchLab     Tel: +46 8 719 2768  (ECN 850 92768)
KK/ETX/B/SL Martti Kuparinen        Fax: +46 8 719 6677  (ECN 850 96677)
S-126 25 Stockholm               E-mail: martti.kuparinen@era-t.ericsson.se