Skip to content
Snippets Groups Projects
Commit e7266c21 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #4944 Filesystem usage not show correctly when lvm logical volume is too long.

parent c1916502
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ class cronjob_monitor_disk_usage extends cronjob {
$app->uses('getconf');
$web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
$dfData = shell_exec('df -hT -x simfs | awk \'!x[$1]++\' 2>/dev/null');
$dfData = shell_exec('df -PhT -x simfs | awk \'!x[$1]++\' 2>/dev/null');
// split into array
$df = explode("\n", $dfData);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment