Unofficial Azure Club
  • Home
  • About
Subscribe

Coredump

A collection of 1 post
Ubuntu Generate Core Dump On Fly
Linux

Ubuntu Generate Core Dump On Fly

systemctl disable apport.service /etc/security/limits.conf * soft core unlimited * hard core unlimited /etc/sysctl.conf kernel.core_pattern=/cores/core.%e.%p.%h.%t mkdir /cores chmod a+rwx /cores sysctl -p int main() { int *p; return *p; } gcc -o t t.c .\t Coredump will be generated
Oct 13, 2019
Unofficial Azure Club © 2025
Powered by Ghost