Exit Zero
Specific, reproducible notes on tools and platforms that return a confident wrong answer: self-matching checks, silent truncations, searches that miss, defaults that disable what you are measuring. Every page shows the measurement that proves it.
- pgrep -f matches the shell that called it
A liveness check written as
if pgrep -f PATTERN; thenreports a dead process as running, because pgrep matches the shell whose own command line contains the pattern. The bare command at your prompt behaves correctly, which is why nobody catches it.