1838576 Members
4097 Online
110128 Solutions
New Discussion

ndd & socket_caching_tcp

 
Banibrata Dutta_1
Occasional Contributor

ndd & socket_caching_tcp

Hi,

I am trying to find if 'socket_caching_tcp' is enabled (i.e. value > 0), via ndd, but i am unable to find the appropriate device_name on which to do the 'get' operation. The man page states that the only valid device_names to do the get on, are:
/dev/arp, /dev/ip, /dev/rawip, /dev/tcp, and /dev/udp

but none of them have the 'socket_caching_tcp' parameter defined.

i'm trying this on a host with "uname -a" =
HP-UX bugs B.11.11 U 9000/800 185404661 unlimited-user license

thanks,
bdutta
3 REPLIES 3
Slawomir Gora
Honored Contributor

Re: ndd & socket_caching_tcp

Hi,

look at command ndd -h
there is no parametr socket_caching_tcp
Banibrata Dutta_1
Occasional Contributor

Re: ndd & socket_caching_tcp

hi,

I am surprised that you say so. "ndd -h" does report under the head SOCKET: that...
socket_caching_tcp - Controls socket caching for TCP sockets.

BTW, with the help of a local HP-UX expert I found that /dev/sockets is not documented in the manpage as a network device name. so, doing:

ndd -get /dev/sockets socket_caching_tcp

does work.

thanks,
bdutta.
rick jones
Honored Contributor

Re: ndd & socket_caching_tcp

btw, imo, (insert other tla's here) you should feel free to submit an ER against ndd - that they have all the tunables called "socket_mumble" but the device called /dev/sockets is a foolish inconsistency. /dev/socket would be much better IMO.
there is no rest for the wicked yet the virtuous have no pillows