Jeremy Madea > Sys-LoadAvg-0.03 > Sys::LoadAvg

Download:
Sys-LoadAvg-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Sys::LoadAvg - Perl extension for accessing system CPU load averages.

SYNOPSIS ^

  use Sys::LoadAvg qw( loadavg );
  my @load = loadavg();

  print $load[LOADAVG_1MIN], $/;
  print $load[LOADAVG_5MIN], $/;
  print $load[LOADAVG_15MIN], $/;

DESCRIPTION ^

Module for accessing System load averages.

EXPORT

By default, the only exports are the constants LOADAVG_1MIN, LOADAVG_5MIN, and LOADAVG_15MIN. The loadavg() sub can be explicitly exported if desired.

AUTHOR ^

Jeremy Madea <jeremy@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2002-2012 by Jeremy Madea

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO ^

perl.

syntax highlighting: