< Home - < Back

lsof


Information about the package, lsof, which is shipped with common Linux distributions. The lsof package is designed for, A utility which lists open files on a Linux/UNIX system.


Package Name:

lsof

Summary:

A utility which lists open files on a Linux/UNIX system

Description:

Lsof stands for LiSt Open Files, and it does just that: it lists information about files that are open by the processes running on a UNIX system.

Architecture:

x86_64

Version:

4.82

Release:

5.el6

Size:

900 k

Repository:

installed

From Repository:

base

Licence:

zlib



Handy Yum Commands for lsof


Control the lsof package with the following handy commands outlined below.


Command

Description of Command

yum install lsof

This command will install lsof on the server.

yum remove lsof

This command will un-install lsof on the server. When you run this command, you will be asked if you are sure that you want to remove lsof, so you have to manually confirm that you want to do this.

yum -y remove lsof

This command will un-install lsof on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove lsof when using the -y flag.

yum update lsof

This command will update lsof to the latest version. When you run this command, you will be asked if you are sure that you want to remove lsof, so you have to manually confirm that you want to do this.

yum -y update lsof

This command will update lsof to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove lsof when using the -y flag.

yum info lsof

This command will show you core information about the lsof package.

yum deplist lsof

This command will show you the dependencies for lsof. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update lsof

This command will check if there is an update waiting on lsof. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.