1833758 Members
2490 Online
110063 Solutions
New Discussion

ndd & tcp_status

 
Vacilis Kollias
New Member

ndd & tcp_status

We have seen many TCP connections in a CLOSE_WAIT state on our servers (HP-UX 11.0).

The ndd -get /dev/tcp tcp_status" command results in the following error:
"operation failed, Invalid argument"

Could you please advise. Thank you in advance.

5 REPLIES 5
Roger Baptiste
Honored Contributor

Re: ndd & tcp_status

hi,

the command/option works fine on my 11.x
system. To make sure you are giving
a valid option , run

#ndd -get /dev/tcp '?'
-> this will list the valid options allowed
by ndd . Check whether tcp_status is
listed in it.

Also, try running the command as root.

HTH
raj
Take it easy.
Roger Baptiste
Honored Contributor

Re: ndd & tcp_status


forgot to add ..

to close the close-wait connections, there
is a tcp_discon option to do it with the
ndd set command.

you may also like to look at the tcp_close_wait interval setting.

-R

Take it easy.
Vacilis Kollias
New Member

Re: ndd & tcp_status

Thank you for your replies. In my original message, I forgot to state that tcp_status is listed in the supported options/parameters.

We have four servers that "ndd" fails to work with the tcp_status parameter. Other servers don't have this problem.
Roger Baptiste
Honored Contributor

Re: ndd & tcp_status

<>

Hi, it could be that these four servers dont
have the latest patches. Do
#ll `which ndd`
and check their sizes with the working systems. Also, look at their permission and
ownerships.

#what `which ndd`
checks their revisions.


hth
raj
Take it easy.