1752806 Members
6247 Online
108789 Solutions
New Discussion юеВ

tcp question

 
SOLVED
Go to solution
navin
Super Advisor

tcp question

how doi change tcp/ip parameter on hpux.11.23
server io.
thanks
Learning ...
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: tcp question

Hi:

Use 'ndd' :

http://www.docs.hp.com/en/B3921-60631/ndd.1M.html

Regards!

...JRF..,
Avinash20
Honored Contributor

Re: tcp question

For example:

To modify ndd parameters
1. Use command
# ndd -set /dev/tcp tcp_time_wait_interval 60000
#ndd -set /dev/tcp keep_alive_interval 3600000 ===> Setting
#ndd -get /dev/tcp tcp_time_wait_interval
#ndd -get /dev/tcp keep_alive_interval ===> Confirm

2. Use file edit to have this chances permanent across reboots

# vi /etc/rc.config.d/nddconf
TRANSPORT_NAME[0]=tcp
NDD_NAME[0]=tcp_time_wait_interval
NDD_VALUE[0]=60000

TRANSPORT_NAME[1]=tcp
NDD_NAME[1]=keep_alive_interval
NDD_VALUE[1]=3600000

"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: tcp question

SUPPORTED ndd tunable parameters on HP-UX:
>ndd -h supported

UNSUPPORTED :
>ndd -h unsupported


Also "I have assigned points to 472 of 1138 responses to my questions."

Please assign points to your thread.
This is a way of saying thanks to your answers and also to get better response.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: tcp question

Thanks for Bill.
You could use the following script to get the ndd values.

for TUNE in $(ndd -h | awk '{print $1}'|grep -e upd_ -e ip_ -e raw_ -e arp_ -e tcp_ )
do
echo
echo "$(tput bold)$TUNE"
DEV=$(echo $TUNE | cut -f 1 -d_)
eval "ndd -get /dev/$DEV $TUNE"
done
"Light travels faster than sound. That's why some people appear bright until you hear them speak."