Date: Wed, 28 Apr 1999 17:42:05 +0300 From: Roman Jemets <r.jemets@ts.ee> To: freebsd-questions@freebsd.org Subject: Re: purge ttys Message-ID: <3.0.6.32.19990428174205.00bad710@vegas> In-Reply-To: <372718E0.98E3350B@ocsny.com> References: <3.0.6.32.19990428171212.00d4ea30@vegas>
next in thread | previous in thread | raw e-mail | index | archive | help
>if you do a > >last | grep still > >or w > >you get the ttys of users > >then if i > >ps aux | grep ttypd > >for example > >i come up empty > >no PIDS > >and i believe that is because these old disconnects are idle backgrounds > >pete As I understand, that means wtmp logout record isn't created and utmp record isn't cleared by some reason, one of which may be abnormal shell termination. ps should *always* show the real number of processes and terminals to which they are connected. Init process should clear utmp records eventually, I guess. 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?3.0.6.32.19990428174205.00bad710>