I am using ksh to get one line csv file from the output of df -k. The only information i need is: File System Name and FS Usage Example:

/,50,/usr,45,/var,43 All info in ONE line

I am using this script:
#!/bin/ksh
cat dftmp | grep "%" | awk '{printf "%d,%s\n", $5, $6}' > dftmp2
cat dftmp2 | gawk '{var=var "," $0} END{print substr(var,2)}'
...