Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-21 Thread ToddAndMargo via users
On 8/21/19 5:39 PM, ToddAndMargo via users wrote: The PID is the number to the left of PDT That should have said the "right" of ... Ooops ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedo

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-21 Thread ToddAndMargo via users
On 8/11/19 5:25 PM, ToddAndMargo via users wrote: Hi All, I have no idea what this tells me     $ cat /proc/sys/kernel/core_pattern |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e Does anyone know of a list somewhere? And why does it send out a pipe symbol? What does this do

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-13 Thread Jeremy Nicoll - ml fedora
On 2019-08-12 20:53, Samuel Sieb wrote: On 8/12/19 3:18 AM, Jeremy Nicoll - ml fedora wrote: Excuse my interruption, but why would that create a file named 'core'?   Why doesn't it just place 'core' in the named file? That's not a real file... Thank-you to both Sam and Samuel for explainin

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread Sam Varshavchik
dumps core. The command I mentioned before can be run any time thereafter, all it effectively does is pull the most recent core dump. Otherwise, your only realistic option is your original plan: modify core_pattern. pgpkT6w5DkuLk.pgp Description

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread Ed Greshko
On 8/13/19 5:23 AM, ToddAndMargo via users wrote: > On 8/12/19 2:27 AM, Ed Greshko wrote: >> By default the core files are kept in/var/lib/systemd/coredump/ >> >> If files are "missing" nothing can be extracted. > > If it is not missing, how do I extract it from coredump? > "cp"? > No, you use cor

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread ToddAndMargo via users
On 8/12/19 3:37 AM, Sam Varshavchik wrote: Well, if the program exits with the exit code that indicates that it dumped core, you can have your script automatically run coredumpctl to extract the core out. The stinking script exits after starting the program. Rats! __

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread ToddAndMargo via users
On 8/12/19 2:27 AM, Ed Greshko wrote: By default the core files are kept in/var/lib/systemd/coredump/ If files are "missing" nothing can be extracted. If it is not missing, how do I extract it from coredump? "cp"? ___ users mailing list -- users@lis

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread Samuel Sieb
On 8/12/19 3:18 AM, Jeremy Nicoll - ml fedora wrote: On 2019-08-12 02:01, Sam Varshavchik wrote: ToddAndMargo via users writes: What does this do? # echo core > /proc/sys/kernel/core_pattern This will, instead, create a plain file called "core" in the executabl

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread Sam Varshavchik
Jeremy Nicoll - ml fedora writes: On 2019-08-12 02:01, Sam Varshavchik wrote: ToddAndMargo via users writes: What does this do? # echo core > /proc/sys/kernel/core_pattern This will, instead, create a plain file called "core" in the executable's directory. Excu

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread Sam Varshavchik
ToddAndMargo via users writes: On 8/11/19 6:01 PM, Sam Varshavchik wrote: Now, if you really want a core file, you don't really have to do any of that. You can leave core_pattern at its default value, and just pull the core file down, upon demand. I have a small shell script in my $HOM

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread Jeremy Nicoll - ml fedora
On 2019-08-12 02:01, Sam Varshavchik wrote: ToddAndMargo via users writes: What does this do? # echo core > /proc/sys/kernel/core_pattern This will, instead, create a plain file called "core" in the executable's directory. Excuse my interruption, but why would

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread Ed Greshko
On 8/12/19 4:27 PM, ToddAndMargo via users wrote: > On 8/11/19 11:56 PM, Ed Greshko wrote: >>   "missing" means that the core was stored in a file, but this file >>     has since been removed. > > > Is there some age out timer involved. From the coredump.conf(5) man page    MaxUse

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-12 Thread ToddAndMargo via users
On 8/11/19 11:56 PM, Ed Greshko wrote: "missing" means that the core was stored in a file, but this file    has since been removed. Is there some age out timer involved. And if it is not missing, how do I extract it? ___ users mailin

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-11 Thread Ed Greshko
On 8/12/19 2:46 PM, ToddAndMargo via users wrote: > On 8/11/19 9:05 PM, Andy Paterson via users wrote: >> man 5 core > > # coredumpctl list | grep -i cimtrak > > TIME    PID   UID   GID SIG COREFILE  EXE > Fri 2019-07-26 08:21:14 PDT   32530 0 0  11 missing > /opt/Ci

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-11 Thread ToddAndMargo via users
On 8/11/19 9:05 PM, Andy Paterson via users wrote: man 5 core # coredumpctl list | grep -i cimtrak TIMEPID UID GID SIG COREFILE EXE Fri 2019-07-26 08:21:14 PDT 32530 0 0 11 missing /opt/Cimcor/CimTrak/CimTrakServer/CimTrakServer.bin The core file

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-11 Thread ToddAndMargo via users
On 8/11/19 6:01 PM, Sam Varshavchik wrote: Now, if you really want a core file, you don't really have to do any of that. You can leave core_pattern at its default value, and just pull the core file down, upon demand. I have a small shell script in my $HOME/bin directory: $ cat ~/bin

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-11 Thread Andy Paterson via users
man 5 core > On 12 Aug 2019, at 04:48, ToddAndMargo via users > wrote: > >> On 8/11/19 6:01 PM, Sam Varshavchik wrote: >> ToddAndMargo via users writes: >>> Hi All, >>> >>> I have no idea what this tells me >>> >>>

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-11 Thread ToddAndMargo via users
On 8/11/19 6:01 PM, Sam Varshavchik wrote: ToddAndMargo via users writes: Hi All, I have no idea what this tells me     $ cat /proc/sys/kernel/core_pattern |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e Does anyone know of a list somewhere? Would you believe the proc manual

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-11 Thread Ed Greshko
On 8/12/19 8:25 AM, ToddAndMargo via users wrote: > Hi All, > > I have no idea what this tells me > >     $ cat /proc/sys/kernel/core_pattern > |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e > > Does anyone know of a list somewhere? > > And why

Re: I need help understanding /proc/sys/kernel/core_pattern

2019-08-11 Thread Sam Varshavchik
ToddAndMargo via users writes: Hi All, I have no idea what this tells me $ cat /proc/sys/kernel/core_pattern |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e Does anyone know of a list somewhere? Would you believe the proc manual page, which directs you to the core manual

I need help understanding /proc/sys/kernel/core_pattern

2019-08-11 Thread ToddAndMargo via users
Hi All, I have no idea what this tells me $ cat /proc/sys/kernel/core_pattern |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e Does anyone know of a list somewhere? And why does it send out a pipe symbol? What does this do? # echo core > /proc/sys/kernel/core_patt

Re: core_pattern

2014-12-10 Thread Kevin Fenzi
On Wed, 10 Dec 2014 13:39:57 -0500 Tom Horsley wrote: > On Wed, 10 Dec 2014 13:24:32 -0500 > Tom Horsley wrote: > > > > ln -sf /usr/lib/sysctl.d/50-coredump.conf /dev/null > > > > Thanks! > > Though come to think of it, shouldn't /dev/null be the 1st arg? :-). Indeed it should. ;) Sorry

Re: core_pattern

2014-12-10 Thread Tom H
On Wed, Dec 10, 2014 at 12:55 PM, Kevin Fenzi wrote: > On Wed, 10 Dec 2014 12:31:50 -0500 > Tom Horsley wrote: > >> I see the systemd fungus has grown over the >> /proc/sys/kernel/core_pattern file now. >> >> Can I make it stop changing it? > > ln -sf /usr/

Re: core_pattern

2014-12-10 Thread Tom Horsley
On Wed, 10 Dec 2014 13:24:32 -0500 Tom Horsley wrote: > > ln -sf /usr/lib/sysctl.d/50-coredump.conf /dev/null > > Thanks! Though come to think of it, shouldn't /dev/null be the 1st arg? :-). -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: ht

Re: core_pattern

2014-12-10 Thread Tom Horsley
On Wed, 10 Dec 2014 10:55:56 -0700 Kevin Fenzi wrote: > Abrt also overrides it to handle crashes (and has for a > long time) Yea, but disabling the abrt* services made core files "normal" previously, now it hangs around even with them disabled :-); > > Can I make it stop changing it? > > ln -sf

Re: core_pattern

2014-12-10 Thread Tom H
On Wed, Dec 10, 2014 at 12:31 PM, Tom Horsley wrote: > I see the systemd fungus has grown over the > /proc/sys/kernel/core_pattern file now. > > Can I make it stop changing it? > > Or do I have to make an rc.local script to reset it > to just plain old 'core'

Re: core_pattern

2014-12-10 Thread Kevin Fenzi
On Wed, 10 Dec 2014 12:31:50 -0500 Tom Horsley wrote: > I see the systemd fungus has grown over the > /proc/sys/kernel/core_pattern file now. This is to allow core dumps to get handled by systemd and info to go to the journal. Abrt also overrides it to handle crashes (and has for a lon

core_pattern

2014-12-10 Thread Tom Horsley
I see the systemd fungus has grown over the /proc/sys/kernel/core_pattern file now. Can I make it stop changing it? Or do I have to make an rc.local script to reset it to just plain old 'core'? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscripti