Date: Wed, 16 Feb 2000 15:51:05 -0800 From: Rudy Rucker <rudy@monkeybrains.net> To: freebsd-stable@freebsd.org Subject: `w' shows bogus IDLE time (sometimes) Message-ID: <38AB37E9.2DE98CD3@monkeybrains.net>
next in thread | raw e-mail | index | archive | help
If a user logs in, and runs no commands, they are marked as idle. They will be marked as 'idle since the last login on that tty'. For example, I have a machine with hardly any shell users. If I login 3 times, I grab ttyp5 (relatively, a high numbered tty on this box!). The last time anyone logged into ttyp5 was 27 days ago. So, `last' shows a user who logged in 1 minute ago, but `w' shows they have been idle for 27 days. It's raining, and I am bored, can you tell? Rudy 144> last | head -10 | grep monkey monkey ttyp5 216.231.57.xxx Wed Feb 16 15:43 still logged in monkey ttyp3 216.231.57.xxx Wed Feb 16 15:43 still logged in monkey ttyp2 216.231.57.xxx Wed Feb 16 15:43 still logged in monkey ttyp2 216.231.57.xxx Wed Feb 16 15:04 - 15:34 (00:30) 145> w 3:44PM up 12 days, 22:16, 7 users, load averages: 0.00, 0.01, 0.00 USER TTY FROM LOGIN@ IDLE WHAT monkey p1 xxx.dsl.s 12:57PM - w monkey p2 xxx.dsl.s 3:43PM 9 -tcsh (tcsh) monkey p3 xxx.dsl.s 3:43PM 24 -tcsh (tcsh) monkey p5 xxx.dsl.s 3:43PM 27days -tcsh (tcsh) 146> date Wed Feb 16 15:44:18 PST 2000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38AB37E9.2DE98CD3>