Step 1: Choose a server where you can access all your VIO’s
Step 2: Generate a key from the chosen server and then scp same key to VIO under /home/padmin
Step 3: Now, You can execute the below script from chosen server

Note:- In our case, We have chosen NIM server as our source server where the script to be executed
vio_server – Should contain VIO server name
Name of the script: vio_df.sh

echo Server Name,Filesystem,Permission,Owner,Group,GB blocks,Used,Free,%Used

for vio_df_list in `cat vio_server`
do
for filesystem_vio in `ssh padmin@$vio_df_list df -gt |grep -v Filesystem |grep -v proc |grep -v ":" |awk '{print $6}'`
do
dftotal_vio=`ssh padmin@$vio_df_list df -gt $filesystem_vio |grep -v Filesystem |awk '{print $2}'`
dfused_vio=`ssh padmin@$vio_df_list df -gt $filesystem_vio |grep -v Filesystem |awk '{print $3}'`
dffree_vio=`ssh padmin@$vio_df_list df -gt $filesystem_vio |grep -v Filesystem |awk '{print $4}'`
dfusedprecent_vio=`ssh padmin@$vio_df_list df -gt $filesystem_vio |grep -v Filesystem |awk '{print $5}'`
fs_permission_vio=`ssh padmin@$vio_df_list ls -ld $filesystem_vio |awk '{print $1}'`
fs_owner_vio=`ssh padmin@$vio_df_list ls -ld $filesystem_vio |awk '{print $3}'`
fs_group_vio=`ssh padmin@$vio_df_list ls -ld $filesystem_vio |awk '{print $4}'`
echo $vio_df_list,$filesystem_vio,$fs_permission_vio,$fs_owner_vio,$fs_group_vio,$dftotal_vio,$dfused_vio,$dffree_vio,$dfusedprecent_vio
done
done