DiagnosticProcessSample
One macOS process-sampling command result in a diagnostic capture bundle.
nameName (string)required
Sampling command name.
commandstring[]required
Command argv that was attempted.
okOk (boolean)required
Whether the sampling command completed cleanly.
exitCode object
Process exit code, when a command was launched.
- integer
- null
integer
durationSecondsDurationseconds (number)required
Wall-clock duration spent waiting for the command.
stdout object
Truncated standard output from the sampling command.
- string
- null
string
stderr object
Truncated standard error from the sampling command.
- string
- null
string
error object
Structured failure reason when the command could not run.
- string
- null
string
DiagnosticProcessSample
{
"name": "string",
"command": [
"string"
],
"ok": true,
"exitCode": 0,
"durationSeconds": 0,
"stdout": "string",
"stderr": "string",
"error": "string"
}