Testing the kdump configuration on RHEL
Posted: Mon Sep 30, 2019 4:53 pm
To test the configuration, reboot the system with kdump enabled, and make sure that the service is running:
Then type the following commands at a shell prompt:
This forces the Linux kernel to crash, and the address-YYYY-MM-DD-HH:MM:SS/vmcore file is copied to the location you have selected in the configuration (that is, to /var/crash/ by default).
Code: Select all
# systemctl is-active kdump
active
Code: Select all
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger