Maybe try beanshell or JMeter with JMeter Ant task with beanshell. And, you 
won't need cygwin.

Z W wrote ..
> Hi Gurus
> 
> Is there a jar file out there that provides ping task to verify if a host
> connection is working ?
> 
> Another approach I have is to use cgwin with ant
> 
> 
> <exec dir="." executable="cygwin.bat" os="Windows XP" timeout="1000"
> failonerror="true">
> 
> <arg line="_build_ping_alive.sh"/>
> 
> </exec>
> 
> 
> 
> 
> 
> _build_ping_alive.sh
> 
> ===============
> 
> #!/usr/bin/bash
> 
> ping linpacdb1 -t 1 | sed '1,4d' | grep -o 100.0
> 
> ping linpacdb1 -t 1 | sed '1,4d' | grep -o 0.0
> 
> 
> 
> But I'm still getting no/wrong output.
> 
>      [exec] $B"+(B]0;~
>      [exec] $B"+([EMAIL PROTECTED] <[EMAIL PROTECTED]> 
> $B"+(B[33m~$B"+(B[0m
>      [exec] $ logout
> 
> What am I doing wrong ?
> 
> Any help is appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to