Lines Matching refs:mi
1742 static int get_machine_properties(sd_bus *bus, struct machine_info *mi) {
1746 assert(mi);
1749 r = sd_bus_open_system_machine(&container, mi->name);
1756 r = bus_map_all_properties(bus, "org.freedesktop.systemd1", "/org/freedesktop/systemd1", machine_info_property_map, mi);
4575 _cleanup_(machine_info_clear) struct machine_info mi = {};
4583 r = bus_map_all_properties(bus, "org.freedesktop.systemd1", "/org/freedesktop/systemd1", machine_info_property_map, &mi);
4587 if (streq_ptr(mi.state, "degraded")) {
4590 } else if (!streq_ptr(mi.state, "running")) {
4599 on, strna(mi.state), off);
4601 printf(" Jobs: %u queued\n", mi.n_jobs);
4602 printf(" Failed: %u units\n", mi.n_failed_units);
4605 format_timestamp(since2, sizeof(since2), mi.timestamp),
4606 format_timestamp_relative(since1, sizeof(since1), mi.timestamp));
4608 printf(" CGroup: %s\n", mi.control_group ?: "/");
4621 show_cgroup(SYSTEMD_CGROUP_CONTROLLER, strempty(mi.control_group), prefix, c, false, get_output_flags());