Cisco::UCS::Interconnect::Stats - Utility class for representing Cisco UCS Interconnect system statistics.
# Display the current, min, max and average load my $stats = $ucs->interconnect(A)->stats; printf( "%20s%10s%10s%10s\n", 'current', 'average', 'min', 'max' ); printf( "Load: %14s%10s%10s%10s\n", $stats->load, $stats->load_avg, $stats->load_min, $stats->load_max ); # Prints something like: current average min max Load: 1.250000 1.495000 1.030000 1.800000
Cisco::UCS::Interconnect::Stats is a utility class for representing Cisco UCS Fabric Interconnect system statistics such as load and memory usage.
Please note that you should not need to call the constructor directly, rather a Cisco::UCS::Interconnect::Stats object will be created for you when invoking methods in parent classes, such as the stats() method in Cisco::UCS::Interconnect.
Returns the current load for the target fabric interconnect.
Returns the current load average for the target fabric interconnect.
Returns the minimum load observed for the fabric interconnect during the observation period.
Returns the maximum load observed for the fabric interconnect during the observation period.
Returns the current amount of memory available (in MB) for the target fabric interconnect.
Returns the average amount of memory available (in MB) for the target fabric interconnect during the observation period.
Returns the minimum amount of memory available (in MB) for the target fabric interconnect during the observation period.
Returns the maximum amount of memory available (in MB) for the target fabric interconnect during the observation period.
Returns the current amount of memory cached (in MB) for the target fabric interconnect.
Returns the observed average amount of memory cached (in MB) for the target fabric interconnect during the observation period.
Returns the observed minimum amount of memory cached (in MB) for the target fabric interconnect during the observation period.
Returns the observed maximum amount of memory cached (in MB) for the target fabric interconnect during the observation period.
Returns a boolean (yes or no) value indicating if the statistics should be regarded as suspect.
Luke Poskitt, <ltp at cpan.org>
<ltp at cpan.org>
Please report any bugs or feature requests to bug-cisco-ucs at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Cisco-UCS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-cisco-ucs at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Cisco::UCS::Interconnect::Stats
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Cisco-UCS
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Cisco-UCS-Interconnect-Stats
CPAN Ratings
http://cpanratings.perl.org/d/Cisco-UCS-Interconnect-Stats
Search CPAN
http://search.cpan.org/dist/Cisco-UCS-Interconnect-Stats/
Copyright 2015 Luke Poskitt.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Cisco::UCS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cisco::UCS
CPAN shell
perl -MCPAN -e shell install Cisco::UCS
For more information on module installation, please visit the detailed CPAN module installation guide.