Wilson Snyder > Schedule-Load-3.064 > Schedule::Load::Reporter::Disk

Download:
Schedule-Load-3.064.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Schedule::Load::Reporter::Disk - slreportd disk data collector

SYNOPSIS ^

  use Schedule::Load::Reporter::Disk;

  my $n = new Schedule::Load::Reporter::Disk;
  $n->poll;
  print Dumper($n->stats);

DESCRIPTION ^

Schedule::Load::Reporter::Disk is a plugin for slreportd that collects disk performance 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.

DISTRIBUTION ^

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.

AUTHORS ^

Wilson Snyder <wsnyder@wsnyder.org>

SEE ALSO ^

Schedule::Load, slreportd

syntax highlighting: