![]() |
![]()
| ![]() |
![]()
NAMETest::Parser::Iostat - Perl module to parse output from iostat (iostat -x). SYNOPSISuse Test::Parser::Iostat; my $parser = new Test::Parser::Iostat; $parser->parse($text); DESCRIPTIONThis module transforms iostat output into a hash that can be used to generate XML. FUNCTIONSAlso see Test::Parser for functions available from the base class. new()Creates a new Test::Parser::Iostat instance. Also calls the Test::Parser base class' new() routine. Takes no arguments. data() 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. to_xml() Returns iostat data transformed into XML. AUTHORMark Wong <markwkm@gmail.com> COPYRIGHTCopyright (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. SEE ALSOTest::Parser POD ERRORSHey! The above document had some coding errors, which are explained below:
|