Skip to main content

DiagnosticsProcess

One local operating-system process relevant to Skulk diagnostics.

pidPid (integer)required

Operating-system process ID.

parentPid object

Operating-system parent process ID, when visible.

anyOf
integer
roleRole (string)required

Best-effort Skulk role inferred from process lineage and command line.

Possible values: [skulk, runner, vector, python, other]

commandCommand (string)required

Joined process command line.

status object

Operating-system process status such as running or sleeping.

anyOf
string
cpuPercent object

Recent CPU percentage reported by psutil.

anyOf
number
memoryPercent object

Percent of physical memory used by this process.

anyOf
number
rss object

Resident set size for this process, when available.

anyOf
inBytesInbytes (integer)
Default value: 0
elapsedSeconds object

Seconds since process creation, when available.

anyOf
number
isChildOfSkulkIschildofskulk (boolean)

Whether this process is in the current Skulk API process tree.

Default value: false
DiagnosticsProcess
{
"pid": 0,
"parentPid": 0,
"role": "skulk",
"command": "string",
"status": "string",
"cpuPercent": 0,
"memoryPercent": 0,
"rss": {
"inBytes": 0
},
"elapsedSeconds": 0,
"isChildOfSkulk": false
}