improving ssh based qstat test for all hosts
format