Skip to content

parseProcStatus

parseProcStatus(raw): ProcStatus

Defined in: packages/core/src/kernel/lib/proc-parsers.ts:29

Parse the contents of /proc/<pid>/status.

Format (one field per line, colon-separated):

pid: 1
ppid: 0
state: running
uid: 0
cwd: /

string

ProcStatus