Meaningless Drivel is fun!*
The moose likes General Computing and the fly likes What is the meaning of data displayed by netstat -a Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "What is the meaning of data displayed by netstat -a" Watch "What is the meaning of data displayed by netstat -a" New topic
Author

What is the meaning of data displayed by netstat -a

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Basically i want to see what process is using what Port in Windows XP .
So i ran a basic netstat -a -n -o on to Command Prompt .


But it displayed some data , which i wasn't aware of . Could you please explain

Please find the screen shot of displayed Data of my System .




[Thumbnail for Netstat-a.jpeg]


Save India From Corruption - Anna Hazare.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Try typing netstat /?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks , now this looks better than the previous .

One more question is it possible to know the ProcessName also using netstat .
For example i started Tomcat on 8080 and ran netstat and this got displayed on Command Prompt .
TCP c8063:1883 localhost:8080 ESTABLISHED

Is it possible to display the Process name also ??
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

No. But you have the PID, you can just look that up.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

But you have the PID, you can just look that up.


What do you mean by look that up ??
Do you mean to say : http:localhost:PID ??

Thanks .
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
The Task Manager shows the process IDs (PIDs) and process names together.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

The Task Manager shows the process IDs (PIDs) and process names together


Not for me , i dont know about what version of windows you are refering to .
Anyway thanks for the response .


[Thumbnail for Post.jpeg]

Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

The columns on task manager are configurable.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the meaning of data displayed by netstat -a