EasyManua.ls Logo

Inspur OS - Page 236

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...
227
# vim /etc/kdump.conf
Modify the compression parameter as shown below.
core_collector makedumpfile -c --message-level 1 -d $dump_level
Figure 10-11 Compression Parameter
Supplementary information: Use the parameters defined below according to
specific circumstances.
- Exclude blank pages and then compress: core_collector makedumpfile -d 1 –c
(recommended)
- Exclude extra pages and then compress: core_collector makedumpfile –d 31 –c
- Retain all contents and compress: core_collector makedumpfile –c
5. Specify the action to take if the kdump capture fails.
Control the system behavior after a kdump capture failure by configuring
/etc/kdump.conf. The default configuration is reboot.
# vim /etc/kdump.conf
default reboot
Figure 10-12 Specifying the Action after a Kdump Capture Failure
Supplementary information: If the recommended configuration does not meet
your needs, use the parameters defined below as needed.
default <reboot | halt | poweroff | shell | dump_to_rootfs>
reboot The system will restart, and the core file will be lost.

Table of Contents