diff --git a/network.php b/network.php new file mode 100644 index 0000000..67baf11 --- /dev/null +++ b/network.php @@ -0,0 +1,135 @@ + $in_rate_bps, + 'out_rate_bps' => $out_rate_bps, + 'in_perc' => $in_perc, + 'out_perc' => $out_perc + ]; +} + +// Bereken de gegevens voor InterRacks +$interracks_traffic = isset($interracks_data['port'][0]) ? calculateTrafficData($interracks_data['port'][0]) : [ + 'in_rate_bps' => 0, 'out_rate_bps' => 0, 'in_perc' => 0, 'out_perc' => 0 +]; + +// Bereken de gegevens voor Eranium +$eranium_traffic = isset($eranium_data['port'][0]) ? calculateTrafficData($eranium_data['port'][0]) : [ + 'in_rate_bps' => 0, 'out_rate_bps' => 0, 'in_perc' => 0, 'out_perc' => 0 +]; + +// Optellen van de percentages en vervolgens delen door 2 ivm dubbel de port speed +$total_in_perc = ($interracks_traffic['in_perc'] + $eranium_traffic['in_perc']) / 2; +$total_out_perc = ($interracks_traffic['out_perc'] + $eranium_traffic['out_perc']) / 2; + +?> + + + + + + + AS215085.net | PixelHosting + + + + + + + + + + + + + +
+

AS215085

+

Proudly powering PixelHosting infrastructure

+
+ + + +
+
+

Network

+

On this page you can view our network structure.

+

Total traffic: IN: % | OUT: % @ 20.000 Mbit/sec

+
+
+

Upstream: InterRacks

+

Port speed: 10.000 Mbit/sec

+

Incomming traffic: %

+

Outgoing traffic: %

+
+
+

Upstream: Eranium

+

Port speed: 10.000 Mbit/sec

+

Incomming traffic: %

+

Outgoing traffic: %

+
+
+
+
+ + + +