Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<  535 of 909 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 11093
Last update: 10-30-08
Issue:
How can I voluntarily crash my machine to test if netdump/diskdump/kdump I configured works?
Resolution:
Netdump, Diskdump (in Red Hat Enterprise Linux 3/4), and Kdump (in Red Hat Enterprise Linux 5) are three different kernel crash dump facilities that are shipped with Red Hat Enterprise Linux.

After configuring one of these three kernel crash dump facilities, run the following commands to test if it works.
# echo 1 > /proc/sys/kernel/sysrq
# echo c > /proc/sysrq-trigger
Make sure that the above two commands are run in console (press ctrl+alt+F1), so that what’s happening when the system crashes can be seen. This will need to be performed to generate a vmcore.

With Netdump, it will be located at /var/crash/ip_of_the_server/.

In Diskdump, the vmcore will be recreated in the directory /var/crash/ with the name 127.0.0.1-date.

In remote Kdump(scp or nfs), the vmcore will be saved in the location Server:/location/host-date/, and the vmcore will be saved is /var/crash/date/.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<   535  of  909  >>