/Web/Maintenance/List.php
19,18 → 19,18
<td> <a href="?selection=DigDNS">DNS Info</a> </td>
</tr>
<tr>
<td> Volné místo na disku </td>
<td> <?php echo (int) (disk_free_space(".")/1048576) . "MB / " .
(int) (disk_total_space(".")/1048576) . "MB (" .
(int) (disk_free_space(".") / disk_total_space(".") * 100) . "%)" ?>
<td> Volné místo na discích </td>
<td> <?php echo "/: " . (int) (disk_free_space(".")/1048576) . "MB / " .
(int) (disk_total_space(".")/1048576) . "MB (" .
(int) (disk_free_space(".") / disk_total_space(".") * 100) . "%)" ?>
<br>
<?php echo (int) (disk_free_space("/data")/1048576) . "MB / " .
(int) (disk_total_space("/data")/1048576) . "MB (" .
(int) (disk_free_space("/data") / disk_total_space("/data") * 100) . "%)" ?></td>
<?php echo "/data: " . (int) (disk_free_space("/data")/1048576) . "MB / " .
(int) (disk_total_space("/data")/1048576) . "MB (" .
(int) (disk_free_space("/data") / disk_total_space("/data") * 100) . "%)" ?></td>
</tr>
<tr>
<td> Teplota disků [C]</td>
<td> <?php @exec("/usr/sbin/hddtemp /dev/sd? -n",$xxx);
<td> Teplota disků </td>
<td> <?php @exec("/usr/sbin/hddtemp /dev/sd?",$xxx);
echo implode("<br>", $xxx);?></td>
</tr>
</table>