ProcStatus
Defined in: packages/core/src/kernel/lib/proc-parsers.ts:22
Parsed shape of /proc/<pid>/status.
Remarks
Section titled “Remarks”All fields are strings — procFS produces text, and we do not coerce here.
Missing lines in raw default to empty string (not undefined) so
consumers can pattern-match without guards. Callers that need numeric
pids / uids must parseInt themselves.
Properties
Section titled “Properties”
readonlycwd:string
Defined in: packages/core/src/kernel/lib/proc-parsers.ts:32
Process current working directory (absolute path). Empty string if absent.
readonlypid:string
Defined in: packages/core/src/kernel/lib/proc-parsers.ts:24
PID of the described process, as rendered by procFS. Empty string if absent.
readonlyppid:string
Defined in: packages/core/src/kernel/lib/proc-parsers.ts:26
Parent PID. Empty string if absent.
readonlystate:string
Defined in: packages/core/src/kernel/lib/proc-parsers.ts:28
Process state — e.g. running, sleeping, zombie. Empty string if absent.
readonlyuid:string
Defined in: packages/core/src/kernel/lib/proc-parsers.ts:30
Effective uid, rendered as decimal text. Empty string if absent.