LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2005, 08:59 PM   #1
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Rep: Reputation: 15
question netstat command


OK. This is something that's bugging me. When I use the netstat command sometimes I get results and sometimes I don't. I'm behind a router using 2 computers hooked up on broadband.
Sometimes when I use netstat command it gives me all correct information. But other times I get nothing. I'm wondering is it because of a DNS resolve issue slowing things down? Maybe my router is slow in DNS resolving? Or maybe this is normal. I know it's not the end of the world but when I use the netstat command I want immediate results. Anyway. Any ideas would be welcome! Thanks!
 
Old 01-31-2005, 03:29 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try disabling name resolution with -n:
netstat -an
 
Old 01-31-2005, 08:53 PM   #3
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
Thanks. Using this option seems to be more effective. Quirks like this drive me nuts. Thanks alot for the feedback.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I accidentally removed the netstat command ! markraem Solaris / OpenSolaris 6 10-03-2005 11:18 AM
netstat -r command output juanb Linux - Networking 1 10-28-2004 03:30 PM
netstat question zepplin611 Linux - Networking 2 01-01-2004 03:54 PM
netstat question digsby0007 Linux - Networking 1 12-27-2003 06:33 PM
Netstat command scottpioso Linux - Networking 14 09-06-2003 11:06 AM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration