Category: Linux

How to modify the core dump location

use the kernel core_pattern parameter. This may be useful if you want to save the core in an NFS location.

[root@test:~]$cat /proc/sys/kernel/core_pattern
/var/core/dumps/%t_%e_core.%p
[root@test:~]$sysctl -w kernel.core_pattern=’/remote/dumps/%t_%e_core.%p’

[root@test:~]$cat /proc/sys/kernel/core_pattern
/remote/dumps/%t_%e_core.%p

Page 1 of 26
1 2 3 26