XK0-004 · Question #481
A Systems administrator needs to examine the output of all kernel-related events since the system was booted. Which of the following would BEST display this information?
The correct answer is A. dmesg. dmesg (diagnostic messages) reads and prints the kernel ring buffer, which contains all kernel-level messages generated from boot time onward - hardware detection, driver initialization, error events, and more. It is the go-to command for reviewing kernel events since the last bo
Question
A Systems administrator needs to examine the output of all kernel-related events since the system was booted. Which of the following would BEST display this information?
Options
- Admesg
- Bmodinfo
- Csystemctl
- Dlogger
How the community answered
(21 responses)- A90% (19)
- B5% (1)
- D5% (1)
Explanation
dmesg (diagnostic messages) reads and prints the kernel ring buffer, which contains all kernel-level messages generated from boot time onward - hardware detection, driver initialization, error events, and more. It is the go-to command for reviewing kernel events since the last boot. modinfo displays metadata about a specific kernel module (version, parameters, author) but does not show runtime event logs. systemctl is used to manage and inspect systemd services and units, not raw kernel messages. logger is used to manually write messages into the system log (syslog/journald), not to read kernel events.
Topics
Community Discussion
No community discussion yet for this question.