FreeBSD Ports

sysutils/lsof 4.99.5,8

Lists information about open files (similar to fstat(1))

Repository
FreeBSD ports
Maintainer
[email protected]
License
lsof
Categories
sysutils
Package size
114.2 KiB, 223.3 KiB installed

Description

Lsof (LiSt Open Files) lists information about files that are open by the running processes. An open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file (Internet socket, NFS file or Unix domain socket).

See also fstat(1) in the base system.

Install

As a binary package — by origin, or by package name:

pkg install sysutils/lsof
pkg install lsof

From the ports tree:

cd /usr/ports/sysutils/lsof/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	lsof>0:sysutils/lsof

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.99.5,84.99.5,84.96.5,84.99.4_2,84.99.5,8
FreeBSD:14:quarterly4.99.5,84.99.5,8n/a4.99.4_2,84.99.5,8
FreeBSD:15:latest4.99.5,84.99.5,8n/a4.99.4_2,84.99.4_2,8
FreeBSD:15:quarterly4.99.5,84.99.5,8n/an/an/a
FreeBSD:16:latest4.99.5,84.99.5,8n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

All build dependencies 3

Configuration

Options name: sysutils_lsof

OptionDefaultDescription
NOSOCKSECURITYoffNon-root users can only list their own files except sockets (Implies SECURITY)
SECURITYoffNon-root users can only list their own files
USES
compiler cpe shebangfix
Service scripts
none

Message after installing

NOTE: Due to the way the FreeBSD build clusters make packages,
you may see a warning similar to the following:

lsof: WARNING: compiled for FreeBSD release 11.1-RELEASE-p6; this is 11.1-RELEASE-p4.

This is because the poudriere jails that build the packages don't have the  
corresponding kernel installed, so they don't know that the kernel version is different.

This warning can be ignored if you are using a system that is updated via freebsd-update
and are using pre-built packages.

Files

Manual pages 1
  • lsof(8)
pkg-plist 20
  • share/man/man8/lsof.8.gz
  • @group kmem
  • @mode 2755
  • sbin/lsof
  • @group wheel
  • @mode 0444
  • share/lsof/00MANIFEST
  • share/lsof/00README
  • @mode
  • share/lsof/big_brother.pl
  • share/lsof/count_pf.pl
  • share/lsof/identd.pl
  • share/lsof/idrlogin.pl
  • share/lsof/list_NULf.pl
  • share/lsof/list_fields.awk
  • share/lsof/list_fields.pl
  • share/lsof/shared.pl
  • share/lsof/sort_res.pl
  • share/lsof/watch_a_file.pl
  • share/lsof/xusers.awk
distinfo 1
FileSizeSHA256
lsof-org-lsof-4.99.5_GH0.tar.gz1.135415e+063c591556c665196e0aada5982ff43c75e248187bad78bb1368d8fb9c1c527e6e

Commit history 0

No commits in the history this site was built from.