The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 04-01-2009
pludi's Avatar
pludi pludi is online now Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,932
As root on Linux:
Code:
# netstat -anp

In the next-to-last column look for ESTABLISHED (won't appear for UDP). The last column gives you the PID and process name. If it's empty/'-' even as root, it's probably a mount.