Date: Tue, 5 Jan 1999 01:33:57 -0500 (EST) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Subject: w Bug? Message-ID: <199901050633.BAA03627@cc942873-a.ewndsr1.nj.home.com>
next in thread | raw e-mail | index | archive | help
I have noticed what appears to be a bug in the 'w' command. I have the following lines in my .xinitrc, --- Begin Included file [some preference setting snipped] # ########################### # Applications run on startup # ########################### # Clock xclock -d -update 1 -geometry 200x30-0+0 & # System status xosview -geometry 560x200+505+0 \#+505+0 & # Two initial xterms xterm -T "Top" -geometry 80x24+0+225 \#+0+255 -e top& xterm -T "Mail: $USER@scitec.com" -geometry 80x24+0+570 \#+0+570 -e elm& xterm -n "$USER@$HOST" -geometry 80x40+700+300 \#+700+300 & # The 'Login' window \xterm -C -n "Login: $USER@$HOST" -geometry 80x15+0+0 \#+0+0 --- End Included File Now, here is what I get from the 'w' command, --- Begin Included text 10:03AM up 1:04, 7 users, load averages: 0.24, 0.12, 0.09 USER TTY FROM LOGIN@ IDLE WHAT cjc v0 - 9:05AM 58 xinit /usr2/people/cjc/.xinitrc -- cjc p0 :0.0 9:05AM 5days top cjc p1 :0.0 9:05AM 57 -csh (tcsh) cjc p2 :0.0 9:05AM 3 emacs /usr/tmp/snd.221 cjc p3 :0.0 9:05AM - w --- End Included text The bug is that '5days' idle I get for ttyp1 running top. Obviously, if the machine has only been up for an hour the process cannot be idle for that long. Is this a known problem (a _very_ quick look turned up nothing for me)? Or should I write up a 'send-pr'? PS: The above output was from my work computer. Right now, on my home PC with FreeBSD, 'w' reports 'top' has been idle for 18 hours even though I only started the X session about 6 hours ago. The .xinitrc's on the two are similar but not identical. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901050633.BAA03627>