A Linux system administrator is troubleshooting a server that has a significantly longer boot time than expected. The administrator needs to identify the individual services or units that are taking the most time to initialize during the boot process to pinpoint the source of the delay. Which of the following commands would be the MOST effective for this specific task?
The correct command is systemd-analyze blame. This command displays a list of all running units, sorted in descending order by the time they took to initialize. This allows an administrator to quickly identify the services that consumed the most time during the boot process.
systemd-analyze critical-chain is incorrect because it shows the chain of dependencies that are critical to the boot process, rather than a simple list of the slowest individual units.
systemctl list-units --state=failed is incorrect as it only lists units that failed to start, not units that started successfully but were slow.
top is incorrect because it is a real-time process monitoring tool used to view system resource usage after the system has booted, not to analyze the boot process itself.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does 'systemd-analyze blame' specifically analyze?
Open an interactive chat with Bash
How is 'systemd-analyze critical-chain' different from 'systemd-analyze blame'?
Open an interactive chat with Bash
When should you use 'systemctl list-units --state=failed' during troubleshooting?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Services and User Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .