[racktables-users] just a little mod

I'm currently using the 0.16.5 version.

I've added a Percent Utilization to the "Summary" section of the IPV4
netblock display area to show actual Percentage Utilization of IP space
of any particular netblock. It may or may not be useful to anyone but
thought I'd pass it on.

In interface.php, on or about line 2316 I've edited ....

$percentused = ($used / $total) *100;
echo round($percentused);
echo "<b>%</b> Utilization:</th></td class-tdleft>";

And along with the Progress bar and the actual count of used IP space,
you get a nice little "xx% Utilization" to share with friends and
neighbors. :)


-- 
Les
No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.10.25/1958 - Release Date: 02/18/09 
08:57:00

Other related posts:

  • » [racktables-users] just a little mod - LC Jones - Mikrotec Internet Services