呵呵呵呵呵

萝莉有三好,柔体 轻音 易推倒。女神有三宝,干嘛 呵呵 去洗澡。宅男有三好:Dota 基友 破电脑。


linux ubuntu core dump参数定义

linux ubuntu core dump参数定义

Coredumps have to be enabled in the kernel at

%e 程序名
%p pid
%t 时间
%s 信号

/proc/sys/kernel/core_pattern

which can be permanently set by

sysctl kernel.core_pattern=$coredump_name

e.g.

sysctl kernel.core_pattern=core
sysctl kernel.core_pattern=/var/crash/%E.%p.%t.%s

    %E gives the full pathname of the crashed program (with / replaced by !)
    %p gives the process ID of the crashed program
    %t gives the epoch timestamp
    %s gives the terminating signal number

Full details are in man 5 core.

更多内容:

linux为什么没有生成core dump文件的原因
linux ubuntu apt-get 参数 -purge
ubuntu apport 介绍及关闭方法
linux下整理常用的gcc 编译器命令行参数
linux cut 多列,linux用cut命令从n多列中提取几列

本文链接地址:http://www.hehehehehe.cn/i/833.html