Page 1 of 1

Testing the kdump configuration on RHEL

Posted: Mon Sep 30, 2019 4:53 pm
by cah
To test the configuration, reboot the system with kdump enabled, and make sure that the service is running:

Code: Select all

# systemctl is-active kdump
active
Then type the following commands at a shell prompt:

Code: Select all

echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger
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).