Re: Scripting infrastructure in crash

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

 



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

--
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