Skip to content
pkgseek
All tools

lsof

Debugging

List open files, sockets, and the processes that hold them.

Aliases: lsof

Installation by platform

Package and binary names are factual values and are never translated.

Package verification report

Debian

Verified
package
lsof
binary
lsof
repository
main
sudo apt install lsof

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
trixie/main4.99.4+dfsg-2amd64/usr/bin/lsof

Verified 2026-07-01source

Ubuntu

Verified
package
lsof
binary
lsof
repository
main
sudo apt install lsof

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
focal/main4.93.2+dfsg-1amd64/usr/bin/lsof
jammy/main4.93.2+dfsg-1.1build2amd64/usr/bin/lsof
noble/main4.95.0-1build3amd64/usr/bin/lsof
resolute/main4.99.4+dfsg-2build2amd64/usr/bin/lsof

Verified 2026-07-01source

Arch

Verified
package
lsof
binary
lsof
repository
extra
sudo pacman -S lsof

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
rolling/extra4.99.7-1x86_64/usr/bin/lsof

Verified 2026-07-01source

Fedora

Verified
package
lsof
binary
lsof
repository
fedora
sudo dnf install lsof

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
42/everything4.98.0-7.fc42x86_64/usr/bin/lsof
43/everything4.98.0-8.fc43x86_64/usr/bin/lsof
44/everything4.98.0-9.fc44x86_64/usr/bin/lsof

Verified 2026-07-01source

Alpine

Verified
package
lsof
binary
lsof
repository
main
sudo apk add lsof

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
3.22/main4.99.4-r1x86_64/usr/bin/lsof
3.23/main4.99.5-r0x86_64/usr/bin/lsof
3.24/main4.99.6-r0x86_64/usr/bin/lsof
edge/main4.99.7-r0x86_64/usr/bin/lsof

Verified 2026-07-01source

openSUSE

Verified
package
lsof
binary
lsof
repository
oss
sudo zypper install lsof

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
15.6/oss4.99.0-150600.1.15aarch64/usr/bin/lsof
15.6/oss4.99.0-150600.1.15ppc64le/usr/bin/lsof
15.6/oss4.99.0-150600.1.15s390x/usr/bin/lsof
15.6/oss4.99.0-150600.1.15x86_64/usr/bin/lsof
16.0/oss4.99.4-160000.2.2aarch64/usr/bin/lsof
16.0/oss4.99.4-160000.2.2ppc64le/usr/bin/lsof
16.0/oss4.99.4-160000.2.2s390x/usr/bin/lsof
16.0/oss4.99.4-160000.2.2x86_64/usr/bin/lsof
tumbleweed/oss4.99.7-1.3x86_64/usr/bin/lsof

Verified 2026-07-01source

Homebrew

Platform outside package index
package
lsof
binary
lsof
repository
homebrew/core
brew install lsof

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
rolling/core4.99.7anynot indexed

Verified 2026-07-01source

Commands and flags

Flags are imported with their command-level source and verification date.

lsof

lsof [OPTIONS] [names]

Verified 2026-07-01source

FlagDescriptionSince
-i [i]Select files by network address.—
-p <pid>List files for the given process ID.—
-u <user>List files for the given user.—
-nDo not resolve network numbers to host names.—
-PDo not resolve port numbers to service names.—
+D <dir>Search all files under a directory.—
-tOutput only process identifiers.—