EasyManua.ls Logo

Inspur OS - Page 237

Inspur OS
276 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
228
halt The system will attempt to capture a vmcore, which will
cause the system to halt whether it succeeds or not.
poweroff The server will be powered off.
shell Enter the shell CLI (using bash as the default shell),
which enables you to manually capture the core file. To exit the shell CLI,
restart the system.
dump_to_rootfs If non-root dump target is specified, the default action
can be set as dump_to_rootfs.
6. Check and start the kdump service.
If the kdump service is not started, start it and set it to auto start on system
boot.
#systemctl status kdump
#systemctl start kdump
#systemctl enable kdump
Figure 10-13 Checking and Starting the Kdump Service
#reboot
7. Verify the triggering of kdump.
Test whether the configuration takes effect in the CUI (Character User Interface).
You can execute the following command to result in a system crash. (Before that,
make sure you have configured the magic SysRq key by referring to 10.4
Configuring the Linux Magic SysRq Key.)
Execute the echo c > /proc/sysrq-trigger command to trigger kdump. The vmcore
file will be collected automatically. Then the system reboots.
Figure 10-14 Triggering the Kdump

Table of Contents