The current (pyarchey 0.6.2) script assumes single / partition and reports invalid result for system with separated /var, /home, etc. (sub-class Disk in pyarchey.py, line 523)
Quick (and ugly - please consider better approach, without multiple iterating over partitions:)) solution might be:
#p = ps.disk_usage('/')
total = sum([ps.disk_usage(part.mountpoint).total for part in ps.disk_partitions()])
used = sum([ps.disk_usage(part.mountpoint).used for part in ps.disk_partitions()])
The current (pyarchey 0.6.2) script assumes single / partition and reports invalid result for system with separated /var, /home, etc. (sub-class Disk in pyarchey.py, line 523)
Quick (and ugly - please consider better approach, without multiple iterating over partitions:)) solution might be:
Best Regards