Projects / ps-watcher

ps-watcher

ps-watcher periodically a gets a list of process names via ps. A configuration file specifies a list of Perl regular-expression patterns to match the processes against. For each match, a Perl expression specified for that pattern is evaluated. The evaluated expression can refer to variables which are set by ps and pertain to the matched process(es), including the amount memory consumed by the process, or the total elapsed time. If the Perl expression for a matched pattern evaluates true, then an action can be run such as killing the program, restarting it, or mailing an alert.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  15 Mar 2009 07:08

    Release Notes: pidfile and Darwin 9 support were added.

    •  25 Dec 2008 19:02

      Release Notes: This release corrects some small bugs and has been changed to work on OS X Leopard.

      •  10 Mar 2006 20:21

        Release Notes: Some minimal Cygwin support was added, and support for other operating systems (NetBSD, OpenBSD, and OS X) was corrected. For security, there is aa --path option to limit the path used in running commands. Some bugs were fixed and the code was modernized a little.

        •  18 May 2005 10:53

          Release Notes: A number of small changes suggested by users were made.

          •  18 Jan 2004 14:24

            Release Notes: A feature was added to allow one to accumulate information over all processes via user-specified Perl code and to take action on that. The ps-variable order in GNU/Linux was changed to ensure that single-token attributes don't get messed up by multiple-token attributes.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.