Documentation
¶
Overview ¶
Package procscan exposes the small set of /proc helpers ctm uses to detect whether the per-pane agent process is alive. It deliberately has no agent-specific knowledge — callers supply the comm name they expect (e.g. "codex", "claude" historically) and procscan walks /proc/*/status with no further coupling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindChild ¶
FindChild walks /proc/*/status looking for the first PID whose PPid matches parentPID and whose Name matches procName. Returns an empty string if no match is found.
Pure Go — no pgrep dependency, no shell invocations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.