Test::Parser::Iostat - Perl module to parse output from iostat (iostat -x).
use Test::Parser::Iostat; my $parser = new Test::Parser::Iostat; $parser->parse($text);
This module transforms iostat output into a hash that can be used to generate XML.
Also see Test::Parser for functions available from the base class.
Creates a new Test::Parser::Iostat instance. Also calls the Test::Parser base class' new() routine. Takes no arguments.
Returns a hash representation of the iostat data.
Override of Test::Parser's default parse_line() routine to make it able to parse iostat output.
Returns iostat data transformed into XML.
Mark Wong <markwkm@gmail.com>
Copyright (C) 2006-2008 Mark Wong & Open Source Development Labs, Inc. All Rights Reserved.
This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Test::Parser
1 POD Error
The following errors were encountered while parsing the POD:
'=end' without a target?
To install Test::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Parser
CPAN shell
perl -MCPAN -e shell install Test::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.