$USER = "user"; $HOST="hostname"; $CMD="/usr/sbin/ping"; #open(PING,"/usr/sbin/ping -s ".$nodeName." 64 10 |"); open(PING,"ssh ".$USER."@".$HOST." /bin/ping -s ".$nodeName." 64 10 |"); $old_fh = select(STDOUT); $| = 1; select($old_fh); print "
"; while(";) { print; } print "