Operating System - HP-UX
1835972 Members
2140 Online
110088 Solutions
New Discussion

response time of "netstat -r" is slow

 
Hai Nguyen_1
Honored Contributor

response time of "netstat -r" is slow

Hi folks,

On one of my L2000 servers running 11.00,
"netstat -r" is slow in response. It takes
several minutes to complete. Please let me
know of any possible cause and how to improve
its response time. Thanks.

Hai
6 REPLIES 6
Santosh Nair_1
Honored Contributor

Re: response time of "netstat -r" is slow

How about using netstat -nr. That way it doesn't have to do name resolution. The downside (?) is that you get IP addresses instead of host names.

-Santosh
Life is what's happening while you're busy making other plans
John Bolene
Honored Contributor

Re: response time of "netstat -r" is slow

Sounds like your DNS resolution is slow or maybe you do not have DNS reverse lookups configured correctly.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Edward Alfert_2
Respected Contributor

Re: response time of "netstat -r" is slow

I agree with Santosh,
the most likely reason is problems/delays in name resolutions.
"Do what you love and you will never work a day in your life." - Confucius
Uday_S_Ankolekar
Honored Contributor

Re: response time of "netstat -r" is slow

Hello,

Try netstat -rn This will give you output in Ip-address, instead of hostname.domain

-USA...
Good Luck..
Hai Nguyen_1
Honored Contributor

Re: response time of "netstat -r" is slow

Thanks Santosh. I forgot to mention that
I know how to use "netstat -rn". I think that
I may have some problem with reverse address
resolution.

Hai
harry d brown jr
Honored Contributor

Re: response time of "netstat -r" is slow

Take a look at your /etc/resolv.conf file. You might want to switch to fils first, then dns.
Live Free or Die