Net-Iperf-Parser

Parse a single iperf line result


License
Artistic-1.0-Perl

Documentation

NAME

Net::Iperf::Parser - Parse a single iperf line result

VERSION

version 0.01

SYNOPSIS

use Net::Iperf::Parser;

my $p = new Net::Iperf::Parser;

$p->parse($row);
print $p->dump;

DESCRIPTION

Parse a single iperf line result in default or CSV mode

METHODS

start

Return the start range

end

Return the end range

is_valid

Return if the parsed row is a valid iperf row

is_process_avg

Return if the row is a process average value

is_global_avg

Return if the row is the last summary value

speed

Return the speed calculated in bps

speedk

Return the speed calculated in Kbps

speedm

Return the speed calculated in Mbps

dump

Return a to_string version of the object (like a Data::Dumper::dumper)

parsed

parsecsv

SEE ALSO

Net::OpenSSH

AUTHOR

Emiliano Bruni <info@ebruni.it>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Emiliano Bruni.

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