logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fixproc - Fixes a process by performing the specified action.

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 database format and the meaning of each
       action are described below.

Name

       fixproc - Fixes a process by performing the specified action.

Options

-minn minimum number of processes that should be running, defaults to 1

       -maxn 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.

V5.9.4.pre2                                        16 Nov 2006                                        fixproc(1)

Synopsis

fixproc [-minn] [-maxn] [-check|-kill|-restart|-exist|-fix] proc ...

See Also