socialnerds
/
hive
Archived
1
0
Fork 0
Browse Source

changed Usage to Free because calculation was showing it wrong :)

main
David 10 years ago
parent
commit
2fe1586c76
  1. 2
      monitor/disk_display.py

2
monitor/disk_display.py

@ -30,7 +30,7 @@ if __name__ == "__main__":
"\nUUID:\t\t%s" %(partition["uuid"]) + \
"\nMountpoint:\t%s" %(partition["mountpoint"]) + \
"\nFilesystem:\t%s" %(partition["filesystem"]) + \
"\nUsage:\t\t%s/%s" %(bytes2human(freebytes), bytes2human(totalbytes)) + \
"\nFree:\t\t%s/%s" %(bytes2human(freebytes), bytes2human(totalbytes)) + \
"\nFiles:\t\t%s\n" %(partition["files"])
else:
notmounted = notmounted + " " + partition["device"]