Z W wrote:
Hi Gurus
Is there a jar file out there that provides ping task to verify if a host
connection is working ?
There's no way to do ping in the Java APIs (see java.sun.com bugreps
'ICMP for Java'), so no pure ping command.
the condition does something ping-like on a java 1.5+ runti
Hi Gurus
I have a powershell script MyPing.ps1 that pings different hosts.
If any host is down, I would have a return code 2 to indicate ping failure
to all hosts
even though the script works fine and completes execution.
However, I use ANT to execute this script using
My understanding is t
Hi
Any other recommendations ?
Thanks
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
>
>
> failonerro
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"/>
_buil
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
_build_ping_alive.sh
===
#!/usr/bin/bash
ping linpacdb1 -t 1 | sed '1,4d' | grep -o 100.0
ping linpacdb1 -t 1 | s