Add User graph to stat.php

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-01-13 17:48:59 -05:00
parent fa6c1817e4
commit 7d474674b7
Signed by untrusted user: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 10 additions and 7 deletions

View File

@ -17,21 +17,24 @@
<body>
<!--#include file="nav.php" -->
<div class=h><h1 id=stats>Statistics</h1> <a aria-hidden=true href=#stats>#stats</a></div>
<p>Below are several graphs for network and power usage for many of our servers.</p>
<p>Below are several graphs for statistics of many of our servers.</p>
<div class=h><h2 id=users>User Registrations</h2> <a aria-hidden=true href=#users>#users</a></div>
<svg><?php echo file_get_contents("./gnuplot/users/" . date("Y-m-d") . ".svg"); ?></svg>
<div class=h><h2 id=tilserv>Tildeserver</h2> <a aria-hidden=true href=#tilserv>#tilserv</a></div>
<?php echo file_get_contents("./gnuplot/net/" . date("Y-m-d") . ".svg"); ?>
<?php echo file_get_contents("./gnuplot/power/" . date("Y-m-d") . ".svg"); ?>
<svg><?php echo file_get_contents("./gnuplot/net/" . date("Y-m-d") . ".svg"); ?></svg>
<svg><?php echo file_get_contents("./gnuplot/power/" . date("Y-m-d") . ".svg"); ?></svg>
<div class=h><h2 id=mythos>Mythos</h2> <a aria-hidden=true href=#mythos>#mythos</a></div>
<?php echo file_get_contents("./gnuplot/mythos/" . date("Y-m-d") . ".svg"); ?>
<svg><?php echo file_get_contents("./gnuplot/mythos/" . date("Y-m-d") . ".svg"); ?></svg>
<div class=h><h2 id=iceberg>Iceberg</h2> <a aria-hidden=true href=#iceberg>#iceberg</a></div>
<?php echo file_get_contents("./gnuplot/iceberg/" . date("Y-m-d") . ".svg"); ?>
<svg><?php echo file_get_contents("./gnuplot/iceberg/" . date("Y-m-d") . ".svg"); ?></svg>
<div class=h><h2 id=crescent>Crescent</h2> <a aria-hidden=true href=#crescent>#crescent</a></div>
<?php echo file_get_contents("./gnuplot/crescent/net/" . date("Y-m-d") . ".svg"); ?>
<?php echo file_get_contents("./gnuplot/crescent/power/" . date("Y-m-d") . ".svg"); ?>
<svg><?php echo file_get_contents("./gnuplot/crescent/net/" . date("Y-m-d") . ".svg"); ?></svg>
<svg><?php echo file_get_contents("./gnuplot/crescent/power/" . date("Y-m-d") . ".svg"); ?></svg>
<!--#include file="footer.cgi" -->
</body>