Script Name: df_lsvgfs_rootvg.sh

Multiple Server

for lsvgfs_rootvg in `cat server`
do
ssh $lsvgfs_rootvg 'df -gt $(lsvgfs rootvg)' |grep -Ev "Filesystem|proc" |awk -v MYHOST=$(ssh $lsvgfs_rootvg uname -n) '{print MYHOST " " $1,$2,$3,$4,$5,$6}'
done