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