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

Abstract Art by Ray Yeargin

admin headlines

VirtualBox Headless Administration

Tutorial: Install Lighttpd, PHP5, and MySQL on Ubuntu 13.04

Using OpenVZ on Debian 7 (AMD64)

KVM Virtualization on CentOS 6.4

GlusterFS Tutorial: Four node striping on Ubuntu 12.10

Set up an Intrusion Prevention System on Fedora 17

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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