Sorting systemtap output with Perl

Hien Nguyen hien@us.ibm.com
Thu Sep 15 15:41:00 GMT 2005


Here's a slightly different version of topsys, I use Perl to sort the 
output form systemtap (Tom, thanks for the idea).
topsys.pl invokes topsys_1.stp, after a while the tap script will log 
the data then exit,  topsys.pl will capture the data and print them in 
sort order.

Hien.
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: topsys.pl
Type: application/x-perl
Size: 478 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050915/5df90ab1/attachment.pl>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: topsys_1.stp
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050915/5df90ab1/attachment.ksh>


More information about the Systemtap mailing list