Expand description
§system module
Handle systemd’s overall “system” state. Basically says if we’ve successfully booted, stated all units or have been asked to stop, be offline etc.
Structs§
- Systemd
System State Iter - An iterator over the variants of SystemdSystemState
- Systemd
Version - Parsed systemd version from the Version property on org.freedesktop.systemd1.Manager. Format: “major.minor[.revision].os” (e.g. “256.1.fc40”, “255.6-9.9.hs+fb.el9”)
Enums§
- Monitord
System Error - Systemd
System State - Overall system state reported by the systemd manager (PID 1). Reflects whether the system has fully booted, is shutting down, or has failures. Queried via the SystemState property on org.freedesktop.systemd1.Manager.
Functions§
- get_
system_ state - get_
version - update_
system_ stats - Async wrapper than can update system stats when passed a locked struct
- update_
version - Async wrapper than can update system stats when passed a locked struct