Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Troubleshooting Linux Systems with Lsof

Up
vote
Down

Of course, lsof works with other Unices just fine.
One of the least-talked-about tools in a UNIX sysadmin's toolkit is lsof. Lsof lists information about files opened by processes. But that's really an understatement.

Most people forget that, in UNIX, (almost) everything is a file. The OS makes hardware available to applications by way of files in /dev. Kernel, system, memory, device etc. information in made available inside files in /proc. TCP/UDP sockets are sometimes represented internally as files. Even directories are really just files containing other filenames.
 read more | mail this link | score:6625 | -Ray, March 22, 2006
More Sysadmin articles...

Buy Large Wall Art Prints

admin headlines

GlusterFS 3.2.x Tutorial: Distributed Storage on 4 nodes (CentOS 6.3)

Tutorial: Upgrade Linux Mint 13 to 14 with apt

Track down wasted disk space

Manage Headless VirtualBox with phpvirtualbox (CentOS 6.2)

Tutorial: Apache2 with mod_fcgid, PHP5 on Ubuntu 11.10

Tutorial: Build an Ubuntu 12.04 LTS server

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin