Re: Netstat Problem on solaris 5.8
- From: Ewald Ertl <ewald.ertl@xxxxxxxxxxxx>
- Date: Thu, 08 Jun 2006 09:37:25 +0200
Hi!
the man page for netstat(1M) on Solaris 9 ( but must also be on Solaris 8 ) prints for the
option -n
-n Show network addresses as numbers. netstat normally
displays addresses as symbols. This option may be used
with any of the display formats.
When not using the option "-n" the ports are translated according to the name
found in /etc/services.
So you have to look in /etc/services or wich resolving you've selected in
nsswitch.conf for the name of the port you are looking for.
You should then be able to find the port with the name without using the option
-n
HTH Ewald
manishs.in@xxxxxxxxx wrote:
Hi ,.
We are facing one problem with sockets on solaris 5.8.
we have a client/server scenario. When the communication is
over between client and server the socket goes into TIME_WAIT state.
I guess this is a normal behaviour.
When we want to use the application again, the problem comes.
we used the following command in shell script:
netstat|grep XXXX
to get the status of port and if it is there in display we put a sleep
command.
so that we get some time to wait till the port is available
The output of netstat on solaris is creating a problem for us
on simply using "netstat" command that port doesn't comes in listing.
"netstat -a" is also not showing that port.
if i use "netstat -n" then only i am able to get that ports status.
any hints where could the exact problem is?
-manish
- Follow-Ups:
- Re: Netstat Problem on solaris 5.8
- From: manishs . in
- Re: Netstat Problem on solaris 5.8
- References:
- Netstat Problem on solaris 5.8
- From: manishs . in
- Netstat Problem on solaris 5.8
- Prev by Date: Re: High TCP connect timeout rate questions
- Next by Date: sending raw packet from specified interface in solaris
- Previous by thread: Netstat Problem on solaris 5.8
- Next by thread: Re: Netstat Problem on solaris 5.8
- Index(es):
Relevant Pages
|
Loading