fixproc(1) Net-SNMP fixproc(1)

# [NAME](#NAME)

fixproc - Fixes a process by performing the specified action.

# [SYNOPSIS](#SYNOPSIS)

**fixproc** \[*-min n*] \[*-max n*] \[*-check | -kill | -restart | -exist | -fix*] proc ...

# [DESCRIPTION](#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.

# [OPTIONS](#OPTIONS)

[**-min n**](#min)

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

[**-max n**](#max)

maximum number of processes that should be running, defaults to 1

[**-check**](#check)

check process against database /local/etc/fixproc.conf.

[**-kill**](#kill)

kill process, wait 5 seconds, kill -9 if still exist

[**-restart**](#restart)

kill process, wait 5 seconds, kill -9 if still exist, then start again

[**-exist**](#exist)

checks if proc exists in ps && (min &lt;= num. of processes &lt;= max)

[**-fix**](#fix)

check process against database /local/etc/fixproc.conf. Perform defined action, if check fails.

16 Nov 2006 V5.9.5.2

---

Document: fixproc(1) from net-snmp 5.9.5.2-r9 (Chainguard OS)
Source: https://github.com/net-snmp/net-snmp.git
