How can I tell what process has a network port in use on SCO Unix?

TCP/IP and NFS FAQ

By using lsof (included with Linux, available from Skunkware for old SCO).

For example, if you wanted to know what process is using port 139, you'd do:


 lsof -i :139
 

The lsof tool is not just for network connections. It shows you detailed information about open files in general- not just network activity.

See lsof also.





(OLDER) <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> (SCO Unix) How can I tell what process has a network port in use?



Kerio Samepage


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us