fixproc(1)

fixproc1

Fixes a process by performing the specified action.

Usage

fixproc [-min n] [-max n] [{-check | -kill | -restart | -exist | -fix}] proc ...

Overview

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

-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

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.

Releases

11 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0–7
  4. 8
  5. 9–10
  6. 11
  7. 12
  8. 13
  9. Arch

From net-snmp 5.9.5.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.