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 use lsof to check process owning a TCP/UDP port

To check specific port ====================== # lsof -i tcp:<portno> to display hostnames or # lsof -ni tcp:<portno> to display IP address only To check all ports ================== # lsof -ni udp # lsof -ni tcp To check a specific IP or hostname and port =========================================== # lsof -ni [protocol][@hostname|hostaddr][:service|port] To list open files (file descriptors) by a process ================================================== # lsof -p <pid>
[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]