2013-06-28 05:22:14 -07:00
|
|
|
#!/bin/sh
|
|
|
|
df -xtmpfs | awk '
|
2017-05-19 18:04:09 -07:00
|
|
|
NR==1{printf"%-20s %7s %7s %7s %7s\n","Filesystem","Used","Max","Left","Misc"}
|
|
|
|
NR>1{printf"%-20s %7.2f %7.2f %7.2f %7.2f\n",$6,$3/2^20,($3+$4)/2^20,($4)/2^20,($2-$4-$3)/2^20}'
|