From 34f37b70594b3e1d36f99a680a364eb4bacf8749 Mon Sep 17 00:00:00 2001 From: bergware Date: Mon, 15 Oct 2018 19:03:54 +0200 Subject: [PATCH] Diagnostics: add totals in btrfs usage information --- plugins/dynamix/scripts/diagnostics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/scripts/diagnostics b/plugins/dynamix/scripts/diagnostics index 3adbbbe75..bcba2ee0a 100755 --- a/plugins/dynamix/scripts/diagnostics +++ b/plugins/dynamix/scripts/diagnostics @@ -192,7 +192,7 @@ foreach ($devices as $device) { } // create cache pool information if (is_dir('/mnt/cache') && strpos($disks['cache']['fsType'],'btrfs')!==false) { - exert("/sbin/btrfs filesystem usage /mnt/cache 2>/dev/null|todos >".escapeshellarg("/$diag/system/btrfs-usage.txt")); + exert("/sbin/btrfs filesystem usage -T /mnt/cache 2>/dev/null|todos >".escapeshellarg("/$diag/system/btrfs-usage.txt")); } // create installed plugin information $plugins = glob("/var/log/plugins/*.plg");