Skip to content

List processes using internet in Ubuntu

To list the processes that are using your internet connection in Ubuntu (or Linux, in general), we can use the netstat –inet -ap command. This command will list down the active internet connections in Ubuntu.

Advertisements
> anand@AnandSys:~$ netstat --inet -ap
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 AnandSys:domain      0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:11413           0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:domain        0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:ipp           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:7070            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:9091            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:63138           0.0.0.0:*               LISTEN      1091/transmission-g 
tcp        0      0 AnandSys:41710       maa01s10-in-f2.1e:https ESTABLISHED 3832/chrome --type= 
tcp        0      1 AnandSys:41916       104.18.1.1:http         FIN_WAIT1   -                   
tcp        0      0 AnandSys:18160       server-14-230-90-:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:10972       maa03s31-in-f14.1:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:14332       104.18.231.83:https     ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:38914       maa01s09-in-f1.1e:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:36031       relay-f0fb4e12.net:http ESTABLISHED -                   
tcp        0      0 AnandSys:41712       maa01s10-in-f2.1e:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:44694       maa01s10-in-f3.1e:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:11100       server-12-81-126-:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:34010       117.18.237.66:https     ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:37602       whatsapp-cdn-shv-:https ESTABLISHED 3832/chrome --type= 
tcp        0    117 AnandSys:41438       static.11.19.216.:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:10446       server-12-81-232-:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:41820       104.16.24.31:https      ESTABLISHED 3818/node           
tcp        0      0 AnandSys:11092       server-12-81-126-:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:41434       static.11.19.216.:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:41688       maa01s01-in-f14.1:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:41690       maa01s01-in-f14.1:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:37444       maa03s34-in-f14.1:https TIME_WAIT   -                   
tcp        0     21 AnandSys:18924       104.19.20.20:https      FIN_WAIT1   -                   
tcp        0      0 AnandSys:11704       server-13-32-33-1:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:10066       ec2-14-148-24-210:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:34698       server-13-249-232:https ESTABLISHED 3832/chrome --type= 
tcp        0      1 AnandSys:19660       104.19.20.20:http       FIN_WAIT1   -                   
tcp        0      0 AnandSys:10064       ec2-14-148-24-210:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:37616       whatsapp-cdn-shv-:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:36898       111.101.118.208:https   ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:37442       maa03s34-in-f14.1:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:41440       static.11.19.216.:https ESTABLISHED -                   
tcp        0      0 AnandSys:36132       104.244.42.200:https    ESTABLISHED 3832/chrome --type= 
tcp        0      1 AnandSys:16600       62-210-97-19.rev.p:1337 LAST_ACK    -                   
tcp        0      0 AnandSys:34810       MITV:8009               ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:41442       static.11.19.216.:https ESTABLISHED -                   
tcp        0      0 AnandSys:41432       static.11.19.216.:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:41430       static.11.19.216.:https TIME_WAIT   -                   
tcp        0      0 AnandSys:10062       ec2-14-148-24-210:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:38912       maa01s09-in-f1.1e:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:38182       172.217.194.188:1228    ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:10068       ec2-14-148-24-210:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:43310       maa03s31-in-f10.1:https ESTABLISHED 3832/chrome --type= 
tcp        0      0 AnandSys:18140       104.19.29.29:http-alt   ESTABLISHED 1091/transmission-g 
udp        0      0 AnandSys:41391       maa03s26-in-f4.1e10:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 AnandSys:49747       maa03s31-in-f14.1e1:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 0.0.0.0:631             0.0.0.0:*                           -                   
udp        0      0 AnandSys:18011       _gateway:1311           ESTABLISHED 1091/transmission-g 
udp        0      0 AnandSys:41616       maa01s04-in-f3.1e10:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 0.0.0.0:10001           0.0.0.0:*                           -                   
udp        0      0 AnandSys:14168       maa01s10-in-f2.1e10:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 0.0.0.0:10076           0.0.0.0:*                           1091/transmission-g 
udp        0      0 AnandSys:18497       maa03s26-in-f3.1e10:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 AnandSys:34011       maa03s29-in-f14.1e1:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 224.0.0.211:mdns        0.0.0.0:*                           2611/chrome         
udp        0      0 0.0.0.0:mdns            0.0.0.0:*                           -                   
udp        0      0 AnandSys:14833       maa01s14-in-f14.1e1:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 0.0.0.0:63138           0.0.0.0:*                           1091/transmission-g 
udp        0      0 AnandSys:47281       maa03s31-in-f14.1e1:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 0.0.0.0:11413           0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:11637           0.0.0.0:*                           -                   
udp        0      0 AnandSys:12109       maa03s28-in-f10.1e1:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 AnandSys:60962       maa03s31-in-f10.1e1:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 AnandSys:13069       maa01s01-in-f14.1e1:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 AnandSys:13071       maa01s10-in-f2.1e10:443 ESTABLISHED 3832/chrome --type= 
udp        0      0 AnandSys:domain      0.0.0.0:*                           -                   
udp        0      0 localhost:domain        0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:bootps          0.0.0.0:*                           -                   
udp        0      0 AnandSys:bootpc      _gateway:bootps         ESTABLISHED -         
See also  unable to create listener: Error listen tcp4 0.0.0.0:443: bind: permission denied - Fix in Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.