hqduong
January 22nd, 2008, 07:41 AM
Can someone please tell me how do I change it so Ubuntu dumps a core file with its name, PID, and a timestamp?
I looked into the apport python script, but this is a language I haven't really picked up yet.
mshamma
September 18th, 2009, 11:45 PM
Any luck solving the problem?
MadCow108
September 19th, 2009, 12:43 AM
to just set the pid appending you can change
/proc/sys/kernel/core_uses_pid
to 1
more complicated patterns are saved in:
/proc/sys/kernel/core_pattern
pattern:
%p: pid
%<NUL>: '%' is dropped
%%: output one '%'
%u: uid
%g: gid
%s: signal number
%t: UNIX time of dump
%h: hostname
%e: executable filename
%<OTHER>: both are dropped
http://www.linuxhowtos.org/Tips%20and%20Tricks/coredump.htm
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.