fixproc(1)
π fixproc β bestie edition π
okay so real talk: this one is from Net-SNMP, and it's the little goblin that keeps your processes alive. think of it as a babysitter for daemons. it checks them, it kills them (gently, then not gently), it restarts them, it justβ¦ handles it. no cap. π
β¨ NAME β¨
fixproc β fixes a process by performing the specified action. literally what it says on the tin, and honestly? iconic for that. π
πΈ SYNOPSIS πΈ
wait bestie let me format that properly because it deserves it:
fixproc [-min n] [-max n] [-check | -kill | -restart | -exist | -fix] proc ...
so you give it some process names (`proc ...`, and yes you can pass more than one, she's versatile π
) and one of the actions, and she goes to work. the action stuff is all mutually exclusive btw β `-check`, `-kill`, `-restart`, `-exist` and `-fix` are in that little `|` sandwich up there, so pick ONE, don't be greedy. π
---
# π¦ DESCRIPTION π¦
So here's the vibe: `fixproc` fixes a process named `proc` by performing the specified action. π«Ά
The actions you can pick from are **check**, **kill**, **restart**, **exist**, or **fix**. you tell it which one you want right there on the command line, OR it goes and reads from a default database, which describes the default action to take for each process. yes, girl, there's a whole config situation β the database format and the meaning of each action are described below. π
---
# π
OPTIONS π
- **`-min n`** β the minimum number of processes that should be running. defaults to `1`. it's giving "at least this many, please and thank you." β¨
- **`-max n`** β the maximum number of processes that should be running. defaults to `1`. the ceiling, the limit, the "okay that's enough now." π
- **`-check`** β check the process against the database `/local/etc/fixproc.conf`. (note the path bestie, it's real specific.) π
- **`-kill`** β kill the process, wait `5` seconds, then `kill -9` if it's still around. she asks nicely first and then she does NOT ask nicely. ππ₯
- **`-restart`** β kill the process, wait `5` seconds, `kill -9` if it still exists, and then start it again. full glow-up pipeline: terminate, escalate, resurrect. it's giving phoenix energy fr fr. π
- **`-exist`** β checks if `proc` exists in `ps` && (`min` <= num. of processes <= `max`). the classic vibe check: are you there, and are you within the acceptable range? π
- **`-fix`** β check the process against the database `/local/etc/fixproc.conf`, then perform the defined action, but ONLY if the check fails. it's the "don't touch it unless it's actually broken" option, and honestly that's self-care. π
---
> π quick reminder that `-check`, `-kill`, `-restart`, `-exist` and `-fix` are mutually exclusive β the synopsis says `-check | -kill | -restart | -exist | -fix`, so pick one, bestie. no mixing. that's the rule. π«Ά
---
okay and that's the whole page!! she's short, she's sweet, she keeps your daemons in line. no cap, this is the **V5.9.5.2** era of `fixproc` from the **Net-SNMP** girlies, dated **16 Nov 2006** β vintage but still slaying. bye bestie, go fix a process! πβ¨ππ¦πΈπ
ππ₯ππβππππ§π
π¦ where this page comes from
- arch rolling: net-snmp 5.9.5.2-2 Β· BSD
- nixos 26.05: net-snmp 5.9.5.2
- nixpkgs unstable: net-snmp 5.9.5.2
- ubuntu stonking: snmp 5.9.5.2+dfsg-2.1ubuntu5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms