Troubleshooting
A Java-based service stops every few hours with no application error logged. systemctl status shows "code=killed, status=9/KILL," and memory use on the host climbs steadily before each stop. Which command BEST confirms the cause of the termination?
Show the answer
Correct answerB. dmesg | grep -i 'killed process'
The kernel log records Out of memory messages and the process the OOM killer terminated, which matches SIGKILL and steadily rising memory use. coredumpctl lists crashes such as segmentation faults (SIGSEGV), not a SIGKILL sent by the OOM killer.