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

NAME

Sysstat::Sar::CPU - Sysstat sar module to handle cpu information

VERSION

version 0.003

SYNOPSIS

    This module handle method for any cpu parsing from Sysstat::Sar
    To turn on diagnostics, set environment variable SMART_COMMENTS=1.

METHODS

is_cpu

    return hash reference passed by Sysstat::Sar parse method.
    This method will filter line that contain cpu information.

set_max_idle

    set maximum value cpu idle.
    hostname->date->cpu->idle->'cpu number'->max 

set_min_idle

    set minimum value cpu idle.
    hostname->date->cpu->idle->'cpu number'->min

SEE ALSO

AUTHOR

Heince Kurniawan <heince@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Heince Kurniawan <heince@cpan.org>.

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