The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::Parser::Mpstat - Perl module to parse output from mpstat.

SYNOPSIS

 use Test::Parser::Mpstat;

 my $parser = new Test::Parser::Mpstat;
 $parser->parse($text);

DESCRIPTION

This module transforms mpstat output into a hash that can be used to generate XML.

FUNCTIONS

Also see Test::Parser for functions available from the base class.

new()

Creates a new Test::Parser::Mpstat instance. Also calls the Test::Parser base class' new() routine. Takes no arguments.

data()

Returns a hash representation of the mpstat data.

Override of Test::Parser's default parse_line() routine to make it able to parse mpstat output.

to_xml()

Returns mpstat data transformed into XML.

AUTHOR

Mark Wong <markwkm@gmail.com>

COPYRIGHT

Copyright (C) 2008 Mark Wong All Rights Reserved.

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Test::Parser

1 POD Error

The following errors were encountered while parsing the POD:

Around line 149:

'=end' without a target?