A single command line declared in a systemd unit's ExecStart=, ExecStop=, or ExecReload= directives, augmented with runtime data from its last invocation.
Fields
| Field Name | Description |
|---|---|
path - String!
|
Absolute path of the binary to execute. |
argv - [String!]!
|
Full argv passed to the process, including argv[0]. Note that argv[0] is not necessarily equal to path — services may launch a binary under a different name. |
ignoreFailure - Boolean!
|
If true, failures of this command (non-zero exit, fatal signal, or coredump) do not cause the unit to fail. Mirrors the - prefix on ExecStart= lines: prefix present ⇒ true. |
startRealtime - Time
|
Process start time on CLOCK_REALTIME (wall clock). Null when the command has not run yet. (D-Bus t, the first of four timestamp fields in the tuple) |
startMonotonicUsec - Uint64
|
Process start time on CLOCK_MONOTONIC, in microseconds since boot. Useful for computing elapsed time relative to other monotonic timestamps on the same boot. Null when the command has not run yet. |
finishRealtime - Time
|
Process exit time on CLOCK_REALTIME (wall clock). Null when the command is still running, has not run yet, or this field is not collected by the endpoint sensor. |
finishMonotonicUsec - Uint64
|
Process exit time on CLOCK_MONOTONIC, in microseconds since boot. Null when the command is still running, has not run yet, or this field is not collected by the endpoint sensor. |
pid - Uint32
|
PID of the last invocation. Null when the command has not run yet. (D-Bus u) |
exitReason - ExitReason!
|
Reason the last invocation terminated. See ExitReason. |
exitStatus - Int
|
Exit value of the last invocation. When exitReason is EXITED, this is the value passed to _exit(2) (0–255). When it is KILLED or DUMPED, this is the signal number that terminated the process. Null when the command has not run or has not finished not finished |
Used by
SystemServiceLinuxtype: Linux-specific attributes for a System Service (systemd).
Example
Example
{
"path": "xyz789",
"argv": ["xyz789"],
"ignoreFailure": true,
"startRealtime": "2021-10-07T18:23:25.829Z",
"startMonotonicUsec": "8589934592",
"finishRealtime": "2021-10-07T18:23:25.829Z",
"finishMonotonicUsec": "8589934592",
"pid": "1073741824",
"exitReason": "NEVER_RAN",
"exitStatus": 987
}