lsof-4.87

Introduction to lsof

The lsof package is useful to LiSt Open Files for a given running application or process.

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

lsof Dependencies

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lsof

Installation of lsof

The lsof tarball includes several files, between them, another tarball with the source code, which needs, in turn, to be unpacked. Install lsof by running the following commands:

tar -xf lsof_4.87_src.tar  &&
cd lsof_4.87_src           &&
./Configure -n linux       &&
make

This package does not come with a working test suite.

Now, as the root user:

install -v -m755 -o root -g root lsof /usr/bin &&
install -v lsof.8 /usr/share/man/man8

Command Explanations

./Configure -n linux: Avoid AFS, customization, and inventory checks, and use target-dialect Linux.

make CFGL="-L./lib -ltirpc": Instruct the libtirpc libraries location to make command.

Contents

Installed Program: lsof
Installed Libraries: None
Installed Directories: None

Short Descriptions

lsof

lists open files for running processes.

Last updated on 2014-08-25 12:54:44 -0700