Hello,
Thanks for pointing that.
'help -D' is a good entry point .
Best regards,
Patrick Agrain
-----Message d'origine-----
De : crash-utility-bounces(a)redhat.com [mailto:crash-utility-bounces@redhat.com] De la part
de Kazuhito Hagio
Envoyé : jeudi 11 février 2021 23:45
À : Discussion list for crash utility usage, maintenance and development
<crash-utility(a)redhat.com>
Objet : EXT: Re: [Crash-utility] Is there a way to validate the coherency of a
kdump-compressed dumpfile ?
** External email - Please consider with caution **
Hi Patrick,
On Thu, Feb 11, 2021 at 7:27 PM Agrain Patrick <patrick.agrain(a)al-enterprise.com>
wrote:
Hello,
I’m trying to setup an analyze procedure (with scripts) and would like to ‘check’ the
dumpfile before starting the interactive mode of ‘crash’.
Is there a ‘crash’ option, command that would just :
Return a status to say ‘dumpfile is OK to be processed by crash’.
This should need to finish session initialization, and
Display a header that I could parse.
"help -D" command displays the dumpfile's header.
So I think the exit status and output of this might help, but it takes some time as you
know.
$ echo 'help -D' | crash -s vmlinux vmcore
Thanks,
Kazu
Or ?
Or should I grab directly in the dumpfile (Hmm… kdump-compressed seems not to be easy to
parse) ?
More possibilities with an ELF formatted dumpfile ?
Thanks.
Best regards,
Patrick Agrain
--
Crash-utility mailing list
Crash-utility(a)redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
--
Crash-utility mailing list
Crash-utility(a)redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility