Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 1996 16:29:28 +0800 (GMT+0800)
From:      "Miguel A.L. Paraz" <map@iphil.net>
To:        angio@aros.net (Dave Andersen)
Cc:        freebsd-isp@freebsd.org
Subject:   Re: detecting and killing CPU hogs
Message-ID:  <199605310829.QAA07394@marikit.iphil.net>
In-Reply-To: <199605310819.CAA31977@terra.aros.net> from "Dave Andersen" at May 31, 96 02:19:05 am

next in thread | previous in thread | raw e-mail | index | archive | help
Dave Andersen wrote:

>   My suggestion is a quick perl script to do it that parses the output of 
> a ps -auxw.  If you want, I can send you the one I use here, but you'll 
> probably want to customize it for your own system.
 
I can do it... I just need to know the criterion for telling which
processes should be killed... those whose owners aren't logged in?
But then, it could be a POP daemon or something similar.

>    The other option is to have the users shells execute a 'limit' when 
> they log on. :-)  I haven't tried that approach, as a decision was made 
> to use bash as the default shell here.  <twitch>

Same here!  It's not my system, but a client's, actually.
Any users out there particularly fond of csh?

-- 
miguel a.l. paraz <map@iphil.net>        iphil communications, makati city, 
tech problems, to <support@iphil.net>    philippines.  








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605310829.QAA07394>