Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-15-2010, 06:01 AM   #1
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?

Old 10-15-2010, 06:11 AM   #2
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, 06:17 AM   #3
LQ Newbie
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0

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


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

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

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