We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b41dfdd commit 05481a4Copy full SHA for 05481a4
server/lib/classes/cron.d/100-monitor_disk_usage.inc.php
@@ -73,8 +73,9 @@ public function onRunJob() {
73
//$dfData = shell_exec('df -hT 2>/dev/null');
74
$app->uses('getconf');
75
$web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
76
- $dfData = shell_exec('df -hT|grep -v "'.$web_config['website_basedir'].'/" 2>/dev/null');
77
-
+
+ $dfData = shell_exec('df -hT -x simfs | awk \'!x[$1]++\' 2>/dev/null');
78
79
// split into array
80
$df = explode("\n", $dfData);
81
0 commit comments