Lines Matching refs:mi
2110 _cleanup_(machine_info_clear) struct machine_info mi = {}; in show_system_status() local
2129 &mi); in show_system_status()
2133 if (streq_ptr(mi.state, "degraded")) { in show_system_status()
2136 } else if (streq_ptr(mi.state, "running")) { in show_system_status()
2147 on, strna(mi.state), off); in show_system_status()
2149 printf(" Units: %" PRIu32 " loaded (incl. loaded aliases)\n", mi.n_names); in show_system_status()
2150 printf(" Jobs: %" PRIu32 " queued\n", mi.n_jobs); in show_system_status()
2151 printf(" Failed: %" PRIu32 " units\n", mi.n_failed_units); in show_system_status()
2154 FORMAT_TIMESTAMP_STYLE(mi.timestamp, arg_timestamp_style), in show_system_status()
2155 FORMAT_TIMESTAMP_RELATIVE(mi.timestamp)); in show_system_status()
2157 printf(" systemd: %s\n", mi.version); in show_system_status()
2159 if (!isempty(mi.tainted)) in show_system_status()
2160 printf(" Tainted: %s%s%s\n", ansi_highlight_yellow(), mi.tainted, ansi_normal()); in show_system_status()
2162 printf(" CGroup: %s\n", empty_to_root(mi.control_group)); in show_system_status()
2166 …r = unit_show_processes(bus, SPECIAL_ROOT_SLICE, mi.control_group, prefix, c, get_output_flags(), … in show_system_status()
2168 … show_cgroup(SYSTEMD_CGROUP_CONTROLLER, strempty(mi.control_group), prefix, c, get_output_flags()); in show_system_status()