°Ô½Ã¹° 260°Ç
   
[Redhat6.5] kernerl dump path change ( Ä¿³Î ´ýÇÁ °æ·Î º¯°æ )
±Û¾´ÀÌ : theko ³¯Â¥ : 2014-12-03 (¼ö) 10:25 Á¶È¸ : 2645

1. Ä¿³Î ´ýÇÁ path º¯°æ.

/etc/kdump.conf

 

------ Áß·Â -------

 

path /var/crash  ## ÇØ´ç °æ·Î¸¦ ´ýÇÁ¸¦ ½×À» °æ·Î·Î º¯°æ (170 line)

 

------ Áß·Â -------

 

 

2. ½Ã½ºÅÛ ´ýÇÁ(dump) ÀÛ¾÷

 

# echo ¡°1¡± > /proc/sys/kernel/sysrq È°¼ºÈ­ ÀÛ¾÷ => Àӽûç¿ë

 

# vi /etc/sysctl.conf

kernel.sysrq=1  ©¬      ## Àç ½ÃÀÛÇصµ Àû¿ëµÊ.

 

=> ¼³Á¤ °ªÀÌ ÀÌ¹Ì Àû¿ë µÇ¾î ÀÖÀ» °æ¿ì echo ¸í·É¾î ÀÔ·Â ÇÏÁö ¾Ê¾Æµµ µË´Ï´Ù.

 

# echo "c" > /proc/sysrq-trigger

=> ½Ã½ºÅÛ ´ýÇÁ (¸í·É¾î ÀÔ·Â ½Ã ¼­¹ö°¡ reboot µË´Ï´Ù.)

 


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com