|
NAMECisco::UCS::Interconnect::Stats - Utility class for representing Cisco UCS Interconnect system statistics. SYNOPSIS # 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
DESCRIPTIONCisco::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. METHODSload Returns the current load for the target fabric interconnect. load_avg Returns the current load average for the target fabric interconnect. load_min Returns the minimum load observed for the fabric interconnect during the observation period. load_max Returns the maximum load observed for the fabric interconnect during the observation period. mem_available Returns the current amount of memory available (in MB) for the target fabric interconnect. mem_available_avg Returns the average amount of memory available (in MB) for the target fabric interconnect during the observation period. mem_available_min Returns the minimum amount of memory available (in MB) for the target fabric interconnect during the observation period. mem_available_max Returns the maximum amount of memory available (in MB) for the target fabric interconnect during the observation period. mem_cached Returns the current amount of memory cached (in MB) for the target fabric interconnect. mem_cached_avg Returns the observed average amount of memory cached (in MB) for the target fabric interconnect during the observation period. mem_cached_min Returns the observed minimum amount of memory cached (in MB) for the target fabric interconnect during the observation period. mem_cached_max Returns the observed maximum amount of memory cached (in MB) for the target fabric interconnect during the observation period. suspect Returns a boolean (yes or no) value indicating if the statistics should be regarded as suspect. AUTHORLuke Poskitt, "<ltp at cpan.org>" BUGSPlease 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. SUPPORTYou can find documentation for this module with the perldoc command. perldoc Cisco::UCS::Interconnect::Stats You can also look for information at:
LICENSE AND COPYRIGHTCopyright 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.
|