Which systemd command lists boot-time details per service?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which systemd command lists boot-time details per service?

Explanation:
Boot performance analysis hinges on identifying how long each systemd unit takes to initialize during startup. The tool that provides a clear per-service boot-time detail by listing each unit’s initialization time, ordered from longest to shortest, is systemd-analyze blame. It helps you pinpoint which services are bottlenecks and worth tuning. Other commands don’t fit this specific need: systemctl status shows a unit’s current state and recent activity, not boot-time durations; loginctl manages user sessions and seats; journalctl -b displays boot logs for the current boot, which is useful for debugging but doesn’t present a concise per-service timing breakdown.

Boot performance analysis hinges on identifying how long each systemd unit takes to initialize during startup. The tool that provides a clear per-service boot-time detail by listing each unit’s initialization time, ordered from longest to shortest, is systemd-analyze blame. It helps you pinpoint which services are bottlenecks and worth tuning.

Other commands don’t fit this specific need: systemctl status shows a unit’s current state and recent activity, not boot-time durations; loginctl manages user sessions and seats; journalctl -b displays boot logs for the current boot, which is useful for debugging but doesn’t present a concise per-service timing breakdown.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy