RTFM_ security field notes

Observe short-lived processes with pspy

Know what a process-observation tool can reveal—and what a quiet trace cannot exclude.

A short-lived command may end between two manual process listings. pspy tries to improve observation by scanning procfs and using filesystem events to trigger additional scans. The upstream description explicitly does not guarantee that every process will be caught. upstream

Understand the observation mechanism

The tool combines procfs scans, an adjustable periodic scan and inotify watchers on selected paths. Filesystem activity can trigger an inspection while a process is still alive. This is not equivalent to an exhaustive kernel execution audit. upstream

Operating-system policy and process visibility still matter. The upstream claim that root is not required should not be turned into a guarantee that every context exposes the same information.

Plan a bounded observation

Before any separately approved use, identify the binary’s provenance and architecture, the paths to observe, the duration, and how sensitive output will be retained. More frequent scanning and more watched paths change resource use; the wiki does not choose those settings for an engagement.

Do not automatically download a binary or start a monitor because an index mentions its name. No executable is downloaded or run by this page.

Read both positive and negative observations

A captured command line can support that a particular process was seen. It does not prove the contents of a script, the complete scheduler policy or the success of the operation it attempted.

Silence during an observation window is a bounded negative. A process might not have run then, might not have been visible, or might have been missed. Do not conclude that no scheduled activity exists.

Protect the output

Process arguments can contain sensitive information. Store actual traces in the approved private evidence system and avoid transferring credential material into notes or reusable examples.

Sources and adaptation

pspy-upstream — project README, mechanism and limitations read 2026-11-20. The moving upstream branch is not a pinned or verified executable.

rtfm-legacy-pspy — 4_systeme/1_linux/information_gathering/pspy.md. The source’s misleading generic “Tools” title is replaced with its actual subject. The empty LinPEAS and LinEnum headings are not imported as content.

Provenance and confidence
Version
1
Sources reviewed
2026-11-20
Confidence
medium — Mechanism and missed-process limitation reviewed against the upstream README; no binary was downloaded or executed.

Also searched as: pspy, processus, cron, process monitoring