Man page of fixproc
Section: Net-SNMP (1)
Updated: 16 Nov 2006
Return to Main Contents
fixproc - Fixes a process by performing the specified action.
[-check | -kill | -restart | -exist | -fix]
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 database format and
the meaning of each action are described below.
- -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 process against database /local/etc/fixproc.conf.
kill process, wait 5 seconds, kill -9 if still exist
kill process, wait 5 seconds, kill -9 if still exist, then start again
checks if proc exists in ps && (min <= num. of processes <= max)
check process against database /local/etc/fixproc.conf. Perform defined
action, if check fails.
This document was created by
using the manual pages.
Time: 03:41:10 GMT, September 24, 2010