APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

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?




Printer Friendly Version

Have you tried Searching this site?

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


Printer Friendly Version





Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do. (Donald Knuth)




FAQ

Networking



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode


SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com