Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the meaning of data displayed by netstat -a

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .


Netstat-a.jpeg
[Thumbnail for Netstat-a.jpeg]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try typing netstat /?
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. But you have the PID, you can just look that up.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Task Manager shows the process IDs (PIDs) and process names together.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
Post.jpeg
[Thumbnail for Post.jpeg]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The columns on task manager are configurable.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic