ipmio.pl — Perl script for processing IPM POSIX I/O traces

Author: Mark Howison
Adapted from work by: Noel Keen

Download the script.

View example output.


This script parses POSIX trace data generated by Noel Keen's ipmMEGA library to generate statistics and plots of I/O activity, including:


The basic syntax is:

    ipmio.pl -i input.tar -o outputDir [-e fileExt]

input.tar : contains the ioIPMXXXXX.txt trace files

outputDir : destination for the HTML and image output

fileExt : file extensions to keep (other file handles, such as stdout and stderr, will be ignored)

By default, the file extensions are nc|h5|h5part, and any additional extensions specified with -e will be appended to this list. For instance, if you want to parse files with .txt, .dat, and .out extensions, you would use -e txt|dat|out. The '|'s are necessary because the file extension string is used to construct a regular expression, in which '|' means 'or'. If you would like to change the default extensions, modify the $fileExt variable in the script.


Plots are generated using both the Perl GD module and system calls to gnuplot. You will need to install both of these and make sure the location of GD is in your Perl @INC path (e.g., by adding it to $PERLLIB) and that gnuplot is in your $PATH.

The script will also attempt to use the Deja Vu Serif TTF font if your libgd build supports TrueType fonts and you put the path to Deja Vu fonts in the environment variable $GDFONTPATH.