From af5598056a40ddb6b96abf1f837b125c5b040aa5 Mon Sep 17 00:00:00 2001 From: Nicolargo Date: Fri, 31 Jul 2015 13:37:47 +0200 Subject: [PATCH] Value for free disk space is counterintuative on ext file systems (issue#644) --- glances/plugins/glances_fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/plugins/glances_fs.py b/glances/plugins/glances_fs.py index cb488143..dfd4bf21 100644 --- a/glances/plugins/glances_fs.py +++ b/glances/plugins/glances_fs.py @@ -129,7 +129,7 @@ class Plugin(GlancesPlugin): 'mnt_point': fs.mountpoint, 'size': fs_usage.total, 'used': fs_usage.used, - 'free': fs_usage.total - fs_usage.used, + 'free': fs_usage.free, 'percent': fs_usage.percent, 'key': self.get_key()} self.stats.append(fs_current)