Subject: Re: Hung Processes in WUFTPD

From: Anthony Perry <[email-masked]>
Date: Thu, 27 Jun 1996 09:24:23 -0400

This is a 24 hour script.  It has to be modified at the beginning of each
month.  It's nothing special, but does trick for sites that are not too busy.

Anth

ps -ef | grep ftpd | awk '
 {      if ($5 == "Jun")   print "kill -9 "$2 >> "/kill.file" }
                        '
#
sh kill.file
rm kill.file  

At 05:27 PM 6/26/96 -0800, Robert Bogar wrote:
>I'm new to this list and I'm sure this subject has covered completely, 
>but...
>
>I'm getting a lot of hung processes which can quickly max out my site 
>using 2.4 on a sparc20 running sol2.5.  Does anyone have a cron script 
>out there which can hunt down and kill these guys?
>
>Also, is there a FAQ for this list?
>
>TIA-
>
>
>
>+++++++++++++++++++++++|-|-|-|-|-|-|-|-|-|-|-|-|+++++++++++++++++++++++
>Robert Bogar                                             [email-masked]
>Claris Corp.                                               408.987.7526
>IS/Network Computing Services                     http://www.claris.com   
>                                  
>              Postmaster, Internet Services Admin, General Geek. 
>                        PGP key avilable by request.
>+++++++++++++++++++++++|-|-|-|-|-|-|-|-|-|-|-|-|+++++++++++++++++++++++
>
>
>
*********************************
Anthony Perry - Symantec Corp.  |
416/441-3676        		|
[email-masked]		|
*********************************

---

From: Eilon Gishri <[email-masked]>
Date: Thu, 27 Jun 1996 20:13:06 +0300 (IDT)

>  {      if ($5 == "Jun")   print "kill -9 "$2 >> "/kill.file" }
                    ^^^^^
                    `date +%b` will give you the current month.

-- 
		Eilon Gishri, Tel-Aviv University Computation Center
		Home 03-5078671
		E-mail: [email-masked]