Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Tips



See which sockets belong to which processes
With lsof

James Andrews
Sunday, October 31, 1999 06:11:39 AM

lsof | grep -i "program"

lsof or "list open files" is one of the systems administrator's number one tools. On a busy server it can help you trace what processes are using which services, without turning any serivces on and off to check what dies.

For many situations, lsof can provide vital clues you really shouldn't be without! All the distributions include it as a package. It is usually best to install from source, though, if you are upgrading the kernel regularly. This is because it really "gets inside" the kernel, and kernel upgrades often break it. I keep a copy in /usr/src and compile when I need it.





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers