script to sum all partition size
Hi, I need to sum all the partition size so that I get total data size.
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/sda2 3336 3011 156 96% /
/dev/sda1 99 12 83 12% /boot
none 125 0 125 0% /dev/shm
So the output shuold be 3336+99+125
Thanks for your help
|