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:8688 | -pkrumins, December 28, 2009
More Sysadmin articles...

Abstract Art Online Gallery

admin headlines

Tutorial: Redaxo 4.4.x on Nginx (LEMP) on Debian, Ubuntu

Tutorial: Set up a GlusterFS Samba Storage Server on Debian 6

Configure an Email Gateway with Scrollout F1 Anti-Spam DLP

Tutorial: Install, Upgrade to latest Rsyslog on CentOS 5/6

Tutorial: Samba Server Setup

Tutorial: Install BackTrack 5 Revolution 2 on external hard drive

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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