See connections in a real time enviroment

April 2018

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:
Published by netty5. Latest update on May 27, 2010 at 09:58 AM by jak58.
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 (
How to find your Mac Address
Windows - knowing the IP configuration of a PC