Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 18:09:00 +0300
From:      Roman Jemets <r.jemets@ts.ee>
To:        pete collins <pcollins@ocsny.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: purge ttys
Message-ID:  <3.0.6.32.19990428180900.00bac3f0@vegas>
In-Reply-To: <37272226.ADC84F1D@ocsny.com>
References:  <3.0.6.32.19990428171212.00d4ea30@vegas> <3.0.6.32.19990428174205.00bad710@vegas>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:58 28.04.99 -0400, you wrote:
>yes these are all abnormal shell terminations over the course of time
>i'm not sure if utmp is cleared over time
>
>because i ran out of ttys yesterday
>i killed a bunch of sshd's that were lingering to clear things up a little
>
>i know a reboot will clear it out
>i'm gonna look for a way to claer it i'm sure you can
>
>thanks
>
>pete
>

You may create a cron script, that will kill other users' processes, which
happened to be detached from terminals. you may also filter those processes to
sshd ones.
P.S. this may kill eggdrop (an IRC bot) processes also :))



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.19990428180900.00bac3f0>