0
Thanks

A few words of thanks would be greatly appreciated.

See connections in a real time enviroment

Under Linux


In order to observe your outgoing network connections and open ports, type in a terminal in real time:

sudo watch lsof -i
  • Items displayed:
    • The name of the program making the connection (COMMAND) and its PID
    • The user who started the program (USER)
    • The login
  • This display is updated every 2 seconds.
  • Example:

Under Windows


Using netstat utility allows you to display a connection status, but the information displayed screen is not updated when the connections change. Netstat shows results only once.

  • Using netstat
  • To use netstat
  • Start/ Run/ cmd and in the MS-DOS type the command:
  • netstat -ano
  • The connections will be displayed.
  • Example:

0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « See connections in a real time enviroment », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).