[Bubba-users] Using Max(in, out)
Brought to you by:
slarti71
|
From: Steven J. S. P. <ssu...@en...> - 2003-06-04 14:35:01
|
Todd,
I've been playing with an html-based text report and the Max(in, out)
feature and am receiving some warnings...
---
Use of uninitialized value in numeric comparison (<=>) at ./report-html.cgi
line 810.
---
It appear to be a result of the 'sort' function. Any insight?
---
sub calc_percentiles {
...
if ($interface ne 'exclude_ranges') {
if (lc($Global::Percentile_Calc) eq 'max(in,out)') {
my $calc_rate_ref = {};
my $percentile_rate = '';
foreach my $field ('in','out') {
my @samples = sort { $a->{$field} <=>
$b->{$field} } values
%{$rates_ref->{$interface}};
I have attached the HTML summary report generator for your enjoyment.
-Steve S.
|