I want to eventually do these automatically on coredumps and save the results in a database.

I'm scripting a bunch of manual actions that we do on coredumps, using python. I want to eventually do these automatically on coredumps and save the results in a database.

I have two concerns now
1.  I'm currently using pythons gdb module to do the actions, which allows me to touch the structs. But the script calling the `gdb -x {script} {binary} {core}` needs to then parse a bunch of stdout. I'm sure there's a way to do it that's a bit more easier on my end.  But even something like identifying a file for the script to specific data to sounds a little hamfisted.
2. corefile identifiers aren't unique, `core.servername.application-identifier` would adding time make this unique enough with the `%t` flag in the `core_pattern` file?
You already invited:

If you wanna answer this question please Login or Register