Logging for testing

This commit is contained in:
drigato 2014-04-16 16:44:31 -04:00
parent 7c39ab294d
commit f33317ebee
1 changed files with 3 additions and 1 deletions

View File

@ -223,7 +223,9 @@ class Application_Model_Systemstatus
$freeSpace = disk_free_space($storPath); $freeSpace = disk_free_space($storPath);
$totalSpace = disk_total_space($storPath); $totalSpace = disk_total_space($storPath);
//Logging::info($totalSpace - $freeSpace); //Logging::info($totalSpace - $freeSpace);
Logging::info($_SERVER); $storDir = $_SERVER['AIRTIME_BASE']."srv/airtime/stor";
$diskUsage = shell_exec("du -s $storDir | awk '{print $1}'");
Logging::info($diskUsage);
$partitions = array(); $partitions = array();