}
}
+ ($total_u,$total_v,$total_p,$total_h,$total_k)=();
+
# Loop on each config file to show info
#--------------------------------------
foreach my $l (@config) {
print "</td>";
}
else {
+ $total_u+=$view_u{$l};
+ $total_v+=$view_v{$l};
+ $total_p+=$view_p{$l};
+ $total_h+=$view_h{$l};
+ $total_k+=$view_k{$l};
print "<td align=\"right\" nowrap=\"1\">";
print Format_Number($view_u{$l});
print "</td>";
print "</tr>\n";
}
- if ($nbofallowedconffound > 0) { print "</table><br>\n"; }
+ if ($nbofallowedconffound > 0)
+ {
+ print "<tr $cb>\n";
+
+ print "<td colspan=\"2\"> </td>";
+ print "<td>Total</td>";
+
+ print "<td align=\"right\" nowrap=\"1\">";
+ print Format_Number($total_u);
+ print "</td>";
+ print "<td align=\"right\" nowrap=\"1\">";
+ print Format_Number($total_v);
+ print "</td>";
+ print "<td align=\"right\" nowrap=\"1\">";
+ print Format_Number($total_p);
+ print "</td>";
+ print "<td align=\"right\" nowrap=\"1\">";
+ print Format_Number($total_h);
+ print "</td>";
+ print "<td align=\"right\" nowrap=\"1\">";
+ print Format_Bytes($total_k);
+ print "</td>";
+ # Print bargraph
+ print '<td colspan="2"> </td>';
+ print "</tr>\n";
+
+ print "</table><br>\n";
+ }
}
if (! $nbofallowedconffound) {