Commit 05481a4f authored by Marius Cramer's avatar Marius Cramer
Browse files

Implemented: FS#3010 - Remove mount --bind lines from df output in monitor

parent b41dfdd6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -73,7 +73,8 @@ class cronjob_monitor_disk_usage extends cronjob {
		//$dfData = shell_exec('df -hT 2>/dev/null');
		$app->uses('getconf');
		$web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
		$dfData = shell_exec('df -hT|grep -v "'.$web_config['website_basedir'].'/" 2>/dev/null');
		
		$dfData = shell_exec('df -hT -x simfs | awk \'!x[$1]++\' 2>/dev/null');
		
		// split into array
		$df = explode("\n", $dfData);