1fixproc(1)                         Net-SNMP                         fixproc(1)
2
3
4

NAME

6       fixproc - Fixes a process by performing the specified action.
7

SYNOPSIS

9       fixproc  [-min  n] [-max n] [-check | -kill | -restart | -exist | -fix]
10       proc ...
11

DESCRIPTION

13       Fixes a process named "proc" by performing the specified  action.   The
14       actions  can  be  check,  kill,  restart, exist, or fix.  The action is
15       specified on the command line or is read from a default database, which
16       describes  the  default  action to take for each process.  The database
17       format and the meaning of each action are described below.
18

OPTIONS

20       -min n minimum number of processes that should be running, defaults  to
21              1
22
23       -max n maximum  number of processes that should be running, defaults to
24              1
25
26       -check check process against database /local/etc/fixproc.conf.
27
28       -kill  kill process, wait 5 seconds, kill -9 if still exist
29
30       -restart
31              kill process, wait 5 seconds, kill -9 if still exist, then start
32              again
33
34       -exist checks if proc exists in ps && (min <= num. of processes <= max)
35
36       -fix   check  process against database /local/etc/fixproc.conf. Perform
37              defined action, if check fails.
38
39
40
414.2 Berkeley Distribution         16 Nov 2006                       fixproc(1)
Impressum