Function monitord::units::parse_unit_state
source · pub fn parse_unit_state(
dbus_address: &str,
config_map: IndexMap<String, IndexMap<String, Option<String>>>
) -> Result<SystemdUnitStats, Box<dyn Error + Send + Sync>>Expand description
Pull all units from dbus and count how system is setup and behaving