#!/bin/sh # Disk usage of the filesystem holding /var df -P --block-size=1000000 /var | LC_ALL=C awk 'NR==2 {printf "%.1f GB of %.1f GB (%s)\n", $3/1000, $2/1000, $5}'