[CentOS] df to get total disk usage on all filesystems?
Sean Carolan
scarolan at gmail.com
Mon Aug 11 19:10:18 UTC 2008
> df -kl | awk '/^\/dev\// { avail += $3/1024 } END { printf("%d Mb used\n",avail)} '
Awesome, this is going into my bag of goodies. Thanks!
More information about the CentOS
mailing list