df -lk | awk '/^\//{ SUM += $3 } END { print SUM/2**20 " GiB" }' # Print out the total local disk space you are using.

df -lk | awk '/^\//{ SUM += $3 } END { print SUM/2**20 " GiB" }' # Print out the total local disk space you are using.

Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

15 managing disk - understanding /etc/fstab xfs_admin mount -o rw,remount /