Skip to main content
Sign in
Snippets Groups Projects
Commit 54d1adbc authored by Marcus Scharf's avatar Marcus Scharf
Browse files

fix bug in rootfs_usage

parent b7ac76ef
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ class Statistics(Respondd):
'clients': self.getClients(),
'traffic': self.getTraffic(),
'memory': self.getMemory(),
'rootfs': round(self.getRootFS(), 4),
'rootfs_usage': round(self.getRootFS(), 4),
'idletime': float(open('/proc/uptime').read().split(' ')[0]),
'uptime': float(open('/proc/uptime').read().split(' ')[1]),
'loadavg': float(open('/proc/loadavg').read().split(' ')[0]),
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment