Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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(2) 							System Calls Manual							   KILL(2)

NAME
kill - send signal to a process SYNOPSIS
kill(pid, sig); DESCRIPTION
Kill sends the signal sig to the process specified by the process number in r0. See signal(2) for a list of signals. The sending and receiving processes must have the same effective user ID, otherwise this call is restricted to the super-user. If the process number is 0, the signal is sent to all other processes in the sender's process group; see tty(4). If the process number is -1, and the user is the super-user, the signal is broadcast universally except to processes 0 and 1, the scheduler and initialization processes, see init(8). Processes may send signals to themselves. SEE ALSO
signal(2), kill(1) DIAGNOSTICS
Zero is returned if the process is killed; -1 is returned if the process does not have the same effective user ID and the user is not super-user, or if the process does not exist. ASSEMBLER
(kill = 37.) (process number in r0) sys kill; sig KILL(2)
Man Page