#!/bin/bash # /usr/local/bin/dfull.bsd # http://crystalfaeries.net/posix/bin/dfull.bsd # celeste:crystalfaery 2014-03-17 13:32:01+00:00 # dfull pretties the output of the df command, sorted by decreasing FULLness df -h -P | sed 's/Capacity/FULLness/ ; s/Mounted on/Mounted_on/' | column -t | head -n 1 df -h -P | grep -v '^devfs' | grep -v '^map' | column -t | tail -n +2 | sort -rn -k5,5