/Web/Maintenance/List.php
22,7 → 22,16
<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>
(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>
</tr>
<tr>
<td> Teplota disků [C]</td>
<td> <?php @exec("/usr/sbin/hddtemp /dev/sd? -n",$xxx);
echo implode("<br>", $xxx);?></td>
</tr>
</table>