Show detailed information for all connections (Protocol, Listening Address, Foreign Address, State, User, Inode, and PID/Program Name).
netstat -tunapel

Category: Linux Tags:
Linux: Use a command terminal, such as xterm or konsole.
Windows: Start > Run, type cmd.exe and press Enter for the command prompt.
Show detailed information for all connections (Protocol, Listening Address, Foreign Address, State, User, Inode, and PID/Program Name).
