LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-15-2010, 07:01 AM   #1
nobitavn
LQ Newbie
 
Registered: Sep 2010
Posts: 17

Rep: Reputation: 0
Netstat explanation.


Hi all,

When i run "netstat -a" commnand, it display:

Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 20269 /tmp/.gdm_socket
...
unix 2 [ ] DGRAM 997161
unix 3 [ ] STREAM CONNECTED 942628 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 942627
unix 3 [ ] STREAM CONNECTED 942626 /tmp/.X11-unix/X0
....

I have questions: Why some socket don't have Path name? And what mean's RefCnt = 2?

Thanks,
 
Old 10-15-2010, 07:11 AM   #2
rustek
Member
 
Registered: Jan 2010
Location: Melbourne, IA, USA
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 8
The manual pages are of great help.

man netstat
man socket
man tcp
man udp
 
Old 10-15-2010, 07:17 AM   #3
eozakos
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
Netstat

i have used netstat command in solaris.
İ dont know your application running on unix platform but i can say that
you have to configure your ports in your application specific file as i did before.
You are seeing /tmp/x11 path because during the installation or with editing some file
you created that. You have to configure your listening sockets by knowing your specific application files.
İ hope it Will benefit you
thanks
br
ozan
 
  


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
Netstat command output explanation. nobitavn Linux - Newbie 8 10-13-2010 12:21 PM
xvidtune explanation toedoe Linux - Server 2 02-19-2008 10:14 PM
Need explanation concerning Beagle. Lola Kews SUSE / openSUSE 7 12-12-2007 09:13 AM
A brief explanation of dependencies MALDATA Linux - Software 9 07-04-2006 06:28 PM
I Could Use An Explanation winger Linux - General 3 04-13-2002 11:32 PM


All times are GMT -5. The time now is 02:56 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