[Crash-utility] Scripting infrastructure in crash

Sachin P. Sant sachinp at in.ibm.com
Thu May 3 06:27:02 UTC 2007


Alex Sidorenko wrote:
>> 1] It is a wrapper on top of crash.
>>     
> Pykdump is an extension written in C for time-critical access plus a set of 
> Python libraries/scripts. Faster than Alicia 10-100 times :-)
>   
C stuff is always simpler to understand and can easily be used. :-)

>> 2] One can write perl based scripts to extract infromation from dumps.
>>     
> The same - I am mainly working on 'xportshow.py' - printing nicely various 
> tables/structures, mostly IPv6 aware. Routing tables, TCP/UDP/IP connections 
> analysis, ARP-cache, Netfilter, devpack and so on.
>   
So pykdump will be used for printing TCP/IP related stuff or can be used
to extract other information as well ?

> Pykdump can both drive crash externally (via 'pexpect' Python module) or run 
> as an extension from inside 'crash' session, e.g.
>
> crash64> epython xportshow.py --summary
>
>   
Running extension / scripts within crash is good. But it won't harm running 
the scripts/extensions externally as well.

Thanks
-Sachin




More information about the Crash-utility mailing list