Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 10:19:12 -0400
From:      pete collins <pcollins@ocsny.com>
To:        Roman Jemets <r.jemets@ts.ee>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: purge ttys
Message-ID:  <372718E0.98E3350B@ocsny.com>
References:  <3.0.6.32.19990428171212.00d4ea30@vegas>

next in thread | previous in thread | raw e-mail | index | archive | help
Roman Jemets wrote:

> At 09:47 28.04.99 -0400, you wrote:
> >if i do a
> >w
>
> is there something missed in your typing?
>
> >how do i purge old idle ttys that ocurred from disconnects?
> >i can't find any associated pids since they are idle in the background.
>
> have you tried 'ax' option of ps to see all users + detached processes?
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

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



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?372718E0.98E3350B>