my @df_arr = $ssh->capture("df -k /home/ | tail -1") or die "Unable to run command\n"; print "$s: Disk space /home/ = $df_arr[3] \n";