1826388 Members
4372 Online
109692 Solutions
New Discussion

ping problem

 
SOLVED
Go to solution
dictum9
Super Advisor

ping problem

Why do I get an error when running ping (11.23)

The syntax looks right.

#: ping -I 3 -n 5 hostname
Usage: ping [-oprv] [-f address-family] [-i address] [-I interval] [-t ttl] host [-n count [-m timeout]]
ping [-oprv] [-f address-family] [-i address] [-I interval] [-t ttl] host packet-size [[-n] count [-m timeout]]




man ping
-n count The number of packets ping will transmit before
terminating. The -n is not needed if also specifying
packet-size. Range: zero to 2147483647. The default
is zero, in which case ping sends packets until
interrupted.

4 REPLIES 4
Laurent Menase
Honored Contributor
Solution

Re: ping problem

no the order is important :D

ping -l 3 target -n 5
Pete Randall
Outstanding Contributor

Re: ping problem

Oddly enough, the hostname goes in the middle:

ping -I3 hostname -n 5


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: ping problem

Shalom,

Check the patch database to see if there is an update.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
dictum9
Super Advisor

Re: ping problem

Thank you.

As software developers say "It's not a bug, it's a feature".