Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I display all sockets opened for a particular interface?

share|improve this question

migrated from stackoverflow.com Feb 17 '11 at 21:14

This question came from our site for professional and enthusiast programmers.

    
What I was looking for was: ss -a0p – Andrei Feb 17 '11 at 17:11
    
glad you found an answer. It might be helpful (for others) if you were to write it as an answer. (Yes, answering your own question) – Norky Jun 10 '11 at 8:16

Have you tried the -i parameter in netstat ?

share|improve this answer
    
that displays interfaces statistics, not open/listening sockets – Norky Jun 10 '11 at 8:13

That would be netstat -I interface.

share|improve this answer
    
that displays interfaces statistics, not open/listening sockets – Norky Jun 10 '11 at 8:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.