[racktables-users] just a little mod

  • From: LC Jones - Mikrotec Internet Services <lcjones@xxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Thu, 19 Feb 2009 12:43:32 -0500

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. :)

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 

Other related posts:

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