Operating System - HP-UX
1830730 Members
2348 Online
110015 Solutions
New Discussion

Ping (-m) not there in 11.i

 
Branson R. Rasko
Occasional Contributor

Ping (-m) not there in 11.i

Does anyone know why the -m(timeout) option was removed from ping in 11.i? I have copied ping from a 10.20 box to a box running 11.i and the -m option worked. But, is there a known reason why it was removed?
5 REPLIES 5
Steve Steel
Honored Contributor

Re: Ping (-m) not there in 11.i

Hi


According to my documentation ths never existed


What command do you use (Parameters)

What is the output of
what /usr/sbin/ping for the 10.20 and 11.11
ping


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alex Glennie
Honored Contributor

Re: Ping (-m) not there in 11.i

I suspect your original 10.20 version of ping came from a Solaris system. It's my understanding this functionality
doesn't exist on 10.20 or 11.x or at least it's not well documented. It was available on Solaris and there was an enhance Request in HP to address this : JAGab46940
Branson R. Rasko
Occasional Contributor

Re: Ping (-m) not there in 11.i

Thanks for the quick responses,

I have included the man page definition of the option as well as our use of the command.

Here is the man page for the -m option on the 10.20 box.

-m timeout

Allows the user to override the default timeout value that ping uses to timeout(in seconds) when a host or network is unreachable(valid only with the -n option or when count is specified).

The default timeout value is 10 seconds. This option will not be effective for reachable hosts or networks.

The -m option should not be used with count equal to 0.


The command used is as follows:

/usr/sbin/ping ${frame_ip} -n 5 -m 5 2>&1 1>/dev/null


Again, thanks
Branson


Steve Steel
Honored Contributor

Re: Ping (-m) not there in 11.i

Hi

Patch Name: PHNE_24260
added the option to 10.20 and has never been ported to 11


Steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Dirk Wiedemann
Respected Contributor

Re: Ping (-m) not there in 11.i

Hello Branson,

you're right, it's a little bit confusing.
I've systems running under 11.0 and two workstations under 11.20.
On HP-UX 10.20 there is the -m option in the command and in man-page too.
On HP-UX 11.x not.
In the release notes for changed commands (10.20, 10.30 and 11.0) isn't the command ping listed.
And in the online documentation for all versions 10.x there is a man page without the -m option.
In the manpage of both versions of ping the AUTHOR is "ping was developed in the Public Domain." But only the new version has a subscription "Hewlett-Packard Company ... HP-UX Release 11.00: October 1997"

It has definitively changed. But I don't know the reasons.

Dirk