Librenix  
(Show all Unix articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Unix tools: lsof

Up
vote
Down

This is the third post in the article series about Unix and Linux utilities that you should know about. In this post I will take you through the useful lsof tool. If netcat was called the Swiss Army Knife of Network Connections, then I'd call lsof the Swiss Army Knife of Unix debugging.

Lsof follows Unix philosophy closely. It does just one task and it does it perfectly it lists information about files opened by processes. An open file may be a regular file, a directory, a NFS file, a block special file, a character special file, a shared library, a regular pipe, a named pipe, a symbolic link, a socket stream, an Internet socket, a UNIX domain socket, and many others. Since almost everything in Unix is a file, you can imagine how incredibly useful lsof is!
 read more | mail this link | score:9381 | -pkrumins, December 28, 2009
More Sysadmin articles...

Buy Digital Art on Acrylic

admin headlines

Tutorial: Install Nginx, PHP5, PHP-FPM, MySQL on Fedora 19

Tutorial: Installing Lighttpd, PHP5, PHP-FPM, MySQL on Debian 7

Setting up ProFTPd + TLS on Ubuntu 12.10

Encrypt your data with EncFS (OpenSUSE 12.3)

Tutorial: LinOTP on OpenSuSE 12.3 with PostgreSQL

Tutorial: PureFTPd using ClamAV for Virus scans on Fedora 18

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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