1829107 Members
2764 Online
109986 Solutions
New Discussion

Netstat problem

 
Joseph A Benaiah_1
Regular Advisor

Netstat problem

Dear All,

I am running netstat -a on a server and I do not get a complete list of the services that are listening. These include the standard UNIX services as well.

However, running netstat -an does display the ports that are listening or have some form of socket connection.

Has anyone seen this problem in the past and how did you fix it.

The server is an R380 running HP-UX10.20

Cheers,

Joseph.
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: Netstat problem


Joseph,

Do you have the latest patches installed? Especially networking related?

live free or die
harry
Live Free or Die
V. V. Ravi Kumar_1
Respected Contributor

Re: Netstat problem

hi,

the difference between netstat -a and netstat -an is the latter resolves the names into ip.

check with lsof, if u find all services with lsof then it is problem with patches.

regds
Never Say No
harry d brown jr
Honored Contributor

Re: Netstat problem

I agree with VV that lsof is a better tool to determine who and what is doing to whom.

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/

live free or die
harry
Live Free or Die
Joseph A Benaiah_1
Regular Advisor

Re: Netstat problem

Thanks for the input. I suspected that it was patch related. I was just hoping that someone had this exact experience.

Cheers,

Joseph.