disk used

df -kl | awk '/^\/dev\// { avail += $3/1024 } END { printf("%d Mb used\n",avail)} '

by stephen harris

Leave a Reply