Re: EXT: Re: Is there a way to validate the coherency of a kdump-compressed dumpfile ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Thanks for pointing that. 
'help -D' is a good entry point .

Best regards,
Patrick Agrain

-----Message d'origine-----
De : crash-utility-bounces@xxxxxxxxxx [mailto:crash-utility-bounces@xxxxxxxxxx] 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@xxxxxxxxxx>
Objet : EXT: Re:  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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/crash-utility


--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux