From f33317ebeefafe579cf3f9c4861a5a5ce82d6c33 Mon Sep 17 00:00:00 2001 From: drigato Date: Wed, 16 Apr 2014 16:44:31 -0400 Subject: [PATCH] Logging for testing --- airtime_mvc/application/models/Systemstatus.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Systemstatus.php b/airtime_mvc/application/models/Systemstatus.php index 678b801a0..7d1a88f3b 100644 --- a/airtime_mvc/application/models/Systemstatus.php +++ b/airtime_mvc/application/models/Systemstatus.php @@ -223,7 +223,9 @@ class Application_Model_Systemstatus $freeSpace = disk_free_space($storPath); $totalSpace = disk_total_space($storPath); //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();