Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Unix >> Linux >> How to check which process is using a TCP or UDP port



lsof

[root@arlsmail1 conf.d]# lsof -i :110

COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
dovecot 1453 root   24u  IPv4  22310      0t0  TCP *:pop3 (LISTEN)
dovecot 1453 root   25u  IPv6  22311      0t0  TCP *:pop3 (LISTEN)

netstat

# netstat -planet | grep :110

tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      0          22310      1453/dovecot
tcp6       0      0 :::110                  :::*                    LISTEN      0          22311      1453/dovecot
 

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]