Schedule::Load::Reporter::Network - slreportd network data collector
use Schedule::Load::Reporter::Network;
my $n = new Schedule::Load::Reporter::Network;
$n->poll;
print Dumper($n->stats);
Schedule::Load::Reporter::Network is a plugin for slreportd that collects
network statistics from Linux 2.16 machines.
- new
- Creates a new report object.
- poll ($now_secs, $now_usecs)
- Collects statistics, and scales by the time since the last poll. Pass in
the current time (this avoids multiple syscalls when there's many
plugins).
- stats
- Return an array reference with the statistics.
The latest version is available from CPAN and from
<http://www.veripool.org/>.
Copyright 1998-2011 by Wilson Snyder. This package is free
software; you can redistribute it and/or modify it under the terms of either
the GNU Lesser General Public License Version 3 or the Perl Artistic License
Version 2.0.
Wilson Snyder <wsnyder@wsnyder.org>
Schedule::Load, slreportd