##// END OF EJS Templates
system-info: fixed reporting of inodes.
marcink -
r1219:57b5baf2 default
parent child Browse files
Show More
@@ -256,9 +256,8 b' def storage_inodes():'
256
256
257 try:
257 try:
258 i_stat = os.statvfs(path)
258 i_stat = os.statvfs(path)
259
259 value['free'] = i_stat.f_ffree
260 value['used'] = i_stat.f_ffree
260 value['used'] = i_stat.f_files-i_stat.f_favail
261 value['free'] = i_stat.f_favail
262 value['total'] = i_stat.f_files
261 value['total'] = i_stat.f_files
263 value['percent'] = percentage(value['used'], value['total'])
262 value['percent'] = percentage(value['used'], value['total'])
264 except Exception as e:
263 except Exception as e:
General Comments 0
You need to be logged in to leave comments. Login now