IDM Engine Trace Split Tool

IDM Engine Trace Split Tool

The attached Perl script will take an input engine trace file and split the contents of it into two files, a subscriber channel file and a publisher channel file.  All neutral data is written into both files.  It does not modify the original trace file.

I created this Perl script because following an event in an IDM engine trace from a busy driver can be a challenge. Busy drivers can produce traces with intermixed publisher and subscriber channels making it somewhat difficult to follow the flow of a particular event. With this Perl script, you can now split the trace file, not losing any content, and having channel specific log files.

Usage:

Command line only and you need to have Perl 5.x or above. (may work with previous versions but not tested)

perl SplitTrace.pl <Input_Trace_File> <Subscriber_Output_File> <Publisher_Output_File>

ie.  perl SplitTrace.pl AD-Trace.log AD-Trace-SUB.log AD-Trace-PUB.log

ie. perl SplitTrace.pl /blah/Desktop/SAP_Trace.txt /tmp/SAP_SUB.txt /tmp/SAP_PUB.txt


 

Feel free to comment and make recommendations.

 

 
Attachments

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-08-28 21:52
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.