Improved disk usage entry in statistics
Now will calculate usage as (total - avail). In Linux, ext filesystems by default reserves 5% of the space to be usable by root, making them essentially already "used" space. Originally we didn't take that into account. Disk usage percentage will now round down: Math.round() -> Math.floor(). The general behavior in other tools such as "df".safe.fiery.me
parent
0cac4a947f
commit
c113184385
Loading…
Reference in New Issue