1
.TH fixproc "1" "July 2005" "fixproc" "User Commands"
3
fixproc - Fixes a process by performing the specified action.
9
[\fI\-check | \-kill | \-restart | \-exist | \-fix\fR]
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 specified
15
on the command line or is read from a default database, which describes
16
the default action to take for each process. The database format and
17
the meaning of each action are described below.
21
minimum number of processes that should be running, defaults to 1
24
maximum number of processes that should be running, defaults to 1
27
check process against database /local/etc/fixproc.conf.
30
kill process, wait 5 seconds, kill -9 if still exist
33
kill process, wait 5 seconds, kill -9 if still exist, then start again
36
checks if proc exists in ps && (min <= num. of processes <= max)
39
check process against database /local/etc/fixproc.conf. Perform defined
40
action, if check fails.