1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-14 17:49:02 -08:00
rc/sh/dfu

5 lines
178 B
Text
Raw Normal View History

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