fixproc(1) [debian man page]
fixproc(1) Net-SNMP fixproc(1) NAME
fixproc - Fixes a process by performing the specified action. SYNOPSIS
fixproc [-min n] [-max n] [-check | -kill | -restart | -exist | -fix] proc ... DESCRIPTION
Fixes a process named "proc" by performing the specified action. The actions can be check, kill, restart, exist, or fix. The action is specified on the command line or is read from a default database, which describes the default action to take for each process. The data- base format and the meaning of each action are described below. OPTIONS
-min n minimum number of processes that should be running, defaults to 1 -max n maximum number of processes that should be running, defaults to 1 -check check process against database /local/etc/fixproc.conf. -kill kill process, wait 5 seconds, kill -9 if still exist -restart kill process, wait 5 seconds, kill -9 if still exist, then start again -exist checks if proc exists in ps && (min <= num. of processes <= max) -fix check process against database /local/etc/fixproc.conf. Perform defined action, if check fails. 4.2 Berkeley Distribution 16 Nov 2006 fixproc(1)
Check Out this Related Man Page
kill(1) General Commands Manual kill(1) Name kill - send a signal to a process Syntax kill [-sig] processid... kill -l Description The command sends the TERM (terminate, 15) signal to the specified processes. If a signal name or number preceded by `-' is given as first argument, that signal is sent instead of terminate. For further information, see The terminate signal kills processes that do not catch the signal; `kill -9 ...' is a sure kill, as the KILL (9) signal cannot be caught. By convention, if process number 0 is specified, all members in the process group (that is, processes resulting from the current login) are signaled. This works only if you use and not if you use To kill a process it must either belong to you or you must be superuser. The process number of an asynchronous process started with `&' is reported by the shell. Process numbers can also be found by using It allows job specifiers ``%...'' so process ID's are not as often used as arguments. See for details. Options -l Lists signal names. The signal names are listed by `kill -l', and are as given in /usr/include/signal.h, stripped of the common SIG prefix. See Also csh(1), ps(1), kill(2), sigvec(2) kill(1)