pub struct ExecEx {
pub binary_path: String,
pub arguments: Vec<String>,
pub options: Vec<String>,
pub last_start_realtime_us: u64,
pub last_start_monotonic_us: u64,
pub last_exit_realtime_us: u64,
pub last_exit_monotonic_us: u64,
pub pid: u32,
pub last_exit_code: i32,
pub last_status: i32,
}
Expand description
An exec command, augmented with runtime data.
Fields§
§binary_path: String
The binary to run.
arguments: Vec<String>
The arguments to the binary, including argv[0]
.
options: Vec<String>
List of options.
This can include the following options: “ignore-failure” “privileged” “no-setuid” “ambient” “no-env-expand”
More options may be added by systemd in future releases.
last_start_realtime_us: u64
The last start time of the process in microseconds on the realtime clock, or 0 if it was never started yet.
last_start_monotonic_us: u64
The last start time of the process in microseconds on the monotonic clock, or 0 if it was never started yet.
last_exit_realtime_us: u64
The last exit time of the process in microseconds on the realtime clock, or 0 if it never finished yet.
last_exit_monotonic_us: u64
The last finexitme of the process in microseconds on the monotonic clock, or 0 if it never finished yet.
pid: u32
The PID of the process, or 0 if it was never started yet.
last_exit_code: i32
The last exit code of the process.
last_status: i32
The last status of the process.