Operating System - HP-UX
1826213 Members
2726 Online
109691 Solutions
New Discussion

Re: tcp_discon tcp_discon_by_addr on 11.x

 
Tod Wiederholt
Occasional Advisor

tcp_discon tcp_discon_by_addr on 11.x

I am attempting to use the ndd setting of tcp_discon_by_addr and I am getting an error of "unknown tunable parameter". I have gotten this error on both 11.0 systems and 11.x systems. Can anyone shed some light on this one?
4 REPLIES 4
Sundar_7
Honored Contributor

Re: tcp_discon tcp_discon_by_addr on 11.x

Hi,

Post the exact command line u r using

# ndd -get /dev/tcp tcp_status

to get the TCP connection address

# ndd -set /dev/tcp tcp_discon_by_addr


Thanks,

Sundar.
Learn What to do ,How to do and more importantly When to do ?
T G Manikandan
Honored Contributor

Re: tcp_discon tcp_discon_by_addr on 11.x

Just do a ndd -h
check the UNSUPPORTED section


This tunable parameter is not supported by HP and not recommended.

ndd -set /dev/tcp tcp_discon_by_addr

The should be in hexadecimal notation.

you can also use tcp_discon tunable for the same.
T G Manikandan
Honored Contributor

Re: tcp_discon tcp_discon_by_addr on 11.x

Tod Wiederholt
Occasional Advisor

Re: tcp_discon tcp_discon_by_addr on 11.x

Thank you both for your responses. I was able to find the resolution for my problem. When I was converting the port numbers, if it was a 2 byte decimal I would only use a 2 byte hex value to represent it. I have since read the instructions a bit closer and saw that when using the by_addr notation that you must have a total of 24 bytes in the value.