Module system

Module system 

Source
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§

SystemdSystemStateIter
An iterator over the variants of SystemdSystemState
SystemdVersion
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§

MonitordSystemError
SystemdSystemState
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