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.



Got something to add? Send me email.





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

Printer Friendly Version

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



Increase ad revenue 50-250% with Ezoic

Kerio Samepage


Have you tried Searching this 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





In fact, my main conclusion after spending ten years of my life working on the TEX project is that software is hard. It’s harder than anything else I’ve ever had to do. (Donald Knuth)





This post tagged:

FAQ