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

Buy Large Wall Art Prints

admin headlines

Using ngx_pagespeed With nginx On Debian Jessie/testing

10 basic examples of Linux ps command

Installing Debian testing On GPT HDDs From A Grml Live Linux

Running SilverStripe On Nginx (LEMP) On Debian Wheezy/Ubuntu 13.04

Quantum basic RDO setup (grizzly) to have original LAN as external on CentOS 6.4

Step By Step Ubuntu 13.04 (Raring Ringtail) LAMP Server Setup

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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