Results 1 to 8 of 8
  1. #1

    Unix runaway-killer script is needed

    I will pay $10 for a script that does the following for linux:

    1. Checks for the existence of any process(es) that has run longer than XX seconds at greater than XX% CPU usage.
    2. If found process is not on the ignore list, then kill the process, write the event to a log file, and optionally send an email to specified address.

    The script should accept a config file input switch. For example:

    scriptname /path/to/file.cfg

    Config file should look like this:

    $seconds = xx;    #The number of seconds the process must have been running before action is taken 
    $cpu = xx;        #The % of CPU that the process must be using before action is taken 
    $send_email = x;  #If 0, do not send notification email; if 1, send email
    $email = [email protected]          #The email address to receive notification email
    $logfile = /path/to/log/file;
    $ignore_list = process1,process2,process3,etc; #List of processes to ignore
    The script should:

    - be executable via cron
    - be able to run every 1 or 2 minutes without killing the box
    - try to "nicely" kill the process first, then kill it the "hard" way if necessary
    - be self-documenting (ie: please use comments)
    - have any other appropriate features you think would be nice

    I am willing to pay a bit extra if you are willing to turn over copyright. (ie: work-for-hire)


  2. #2
    Join Date
    Dec 2000
    Indianapolis, IN
    Sounds like it would be a cool script..

  3. #3
    Join Date
    Nov 2001
    I would be interested also
    Clustered Hosting With Continuous Data Protection (CDP)
    8 Years of hosting excellence!

  4. #4
    Please don't post unless you're making an offer to write the script.


  5. #5
    Join Date
    Jul 2002
    Well, if you all chip in, you can make the price more worth a programmer's time.

    For $10, you probably can't get anyone outside of India or Russia. Not like that's bad or anything, but something to think about.


  6. #6
    Marc Wyss - [email protected]
    MCHost Inc - Experts in Private Label Reseller Plans

  7. #7
    Join Date
    Feb 2002
    Philadelphia, PA

    Post Is someone working on this?

    Did you already find someone to create this script for you?

  8. #8

    Re: Is someone working on this?

    Originally posted by c3r3br0
    Did you already find someone to create this script for you?
    Not yet. Please PM me if you are interested in doing this..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts