LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   netat question (https://www.linuxquestions.org/questions/solaris-opensolaris-20/netat-question-730993/)

mokku 06-05-2009 02:58 PM

netat question
 
We have sun solaris server v440 and when we do netat -a | wc , it takes more than 5 minutes to complete. Do you think its a network problem or server load issue?

acid_kewpie 06-05-2009 03:05 PM

netat?? you mean netstat? I'd guess at a DNS issue, try -an instead of -a to not do reverse lookups.

mokku 06-06-2009 06:39 AM

Yes, I have tried with netstat -a and taking so long to completed. There are more than 300 sockets connected. That could be the reason?

druuna 06-06-2009 06:47 AM

Hi,

acid_kewpie already pointed out that you should/could use netstat -an

The n option tells netstat not to do a lookup of the ip numbers, which makes the command a lot faster, but the output will show ip numbers and not names. I.e: 75.126.162.205 instead of www.linuxquestions.org.


All times are GMT -5. The time now is 12:39 AM.