If I run df -k I get:
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1310720 1147504 13% 2982 1% /
/dev/hd2 6815744 1632352 77% 53740 7% /usr
/dev/hd9var 131072 51616 61% 1025 7% /var
/dev/hd3 524288 96576 82% 1344 3% /tmp
/dev/hd1 131072 120296 9% 448 3% /home
What I want is to put the contents into a comma delimited file starting on line 2 (don't need the header):
/dev/hd4,1310720,1147504,13%,2982,1%,/
/dev/hd2,6815744,1632352,77%,53740,7%,/usr
/dev/hd9var,131072,51616,61%,1025,7%,/var
/dev/hd3,524288,96576,82%,1344,3%,/tmp
/dev/hd1,131072,120296,9%,448,3%,/home
Thanks!!
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1310720 1147504 13% 2982 1% /
/dev/hd2 6815744 1632352 77% 53740 7% /usr
/dev/hd9var 131072 51616 61% 1025 7% /var
/dev/hd3 524288 96576 82% 1344 3% /tmp
/dev/hd1 131072 120296 9% 448 3% /home
What I want is to put the contents into a comma delimited file starting on line 2 (don't need the header):
/dev/hd4,1310720,1147504,13%,2982,1%,/
/dev/hd2,6815744,1632352,77%,53740,7%,/usr
/dev/hd9var,131072,51616,61%,1025,7%,/var
/dev/hd3,524288,96576,82%,1344,3%,/tmp
/dev/hd1,131072,120296,9%,448,3%,/home
Thanks!!