Skip to main content

How to set coredump file path

· One min read

Get coredump file path

sysctl kernel.core_pattern

Set coredump file path

sysctl -w kernel.core_pattern=/var/crash/core.%u.%p.%t