Automic VaultAutomic Vault

brew

lsof mit Homebrew, apk, apt, dnf, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für lsof in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install lsof

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add lsof

Alpine Linux edge package indexes · lsof · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install lsof

Debian stable package indexes · lsof · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install lsof

Fedora Rawhide package metadata · lsof · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#lsof

nixpkgs package indexes · pkgs/by-name/ls/lsof/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S lsof

Arch Linux sync databases · lsof · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install lsof

openSUSE Tumbleweed package metadata · lsof · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Utility to list open files

Befehle und Aliase

  • lsof

Verlauf

Projektgeschichte und Nutzung

lsof, short for LiSt Open Files, is a long-running Unix diagnostic command for showing which processes have files, directories, devices, sockets, and other file-like objects open. Its official documentation describes common uses such as finding processes blocking unmounts, locating unlinked open files, inspecting network sockets, and filtering by PID, command, or user.

Projektgeschichte

The official lsof documentation states that Vic Abell originally developed and maintained lsof beginning in 1994. The project later moved under the lsof-org team on GitHub, which now publishes the current releases and Read the Docs documentation.

lsof's importance comes from the Unix everything-is-a-file model. The official manpage describes support across many Unix dialects, including Linux, Darwin/macOS, FreeBSD, NetBSD, OpenBSD, Solaris, and OpenIndiana, and explains that open files include regular files, directories, character and block devices, executing text references, libraries, streams, internet sockets, NFS files, and Unix-domain sockets.

Adoptionsgeschichte

lsof is one of the canonical system-administration packages. The official docs say it is provided by package managers, and the supplied package facts list availability through Homebrew, Alpine, Debian/Ubuntu, Fedora/DNF, Arch, Nix, and openSUSE/Zypper.

The GitHub repository was created for the maintained upstream in 2018 and continues to receive updates. The project documentation lists active support and CI coverage across major Unix-like systems, which helps downstream package maintainers keep it viable despite kernel and platform-specific internals.

Wie es verwendet wird

Administrators and developers use lsof to answer practical questions: which process has a file open, why a filesystem cannot be unmounted, where deleted-but-open files are consuming disk space, which TCP or UDP sockets a process owns, and what a named command or user has open.

The official manpage is unusually rich because lsof has to expose platform-specific kernel data in a portable CLI. It includes selectors for paths, PIDs, users, commands, network addresses, file descriptors, zones, repeat mode, parseable output via `-F`, and device-cache behavior.

Warum Paket-Nerds sich dafür interessieren

For package nerds, lsof is foundational plumbing. It is a tiny command with outsized diagnostic value, but it is hard to maintain because it tracks kernel data structures and Unix dialect differences. That combination explains why it is routinely installed by default or close to default in sysadmin toolsets, containers, rescue environments, and debugging checklists.

Zeitleiste

  • 1994: Vic Abell begins developing and maintaining lsof.
  • 2018: lsof-org/lsof GitHub repository is created for current upstream maintenance.
  • 2020s: lsof-org maintains Read the Docs documentation and GitHub releases.
  • 2026: Official docs list active support for Linux, FreeBSD, Darwin/macOS, NetBSD, OpenBSD, Solaris/OpenIndiana, and CI testing across common distributions.

Related projects

  • Related diagnostics include fuser, ps, ss, netstat, procfs tools, and platform-specific filesystem or socket inspection commands. lsof remains distinctive because it unifies process, file descriptor, filesystem, and network views in one command.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
lsofcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-26
Manager-Version4.99.7
Manager aktualisiert2026-06-16
lokale DatenOK
Upstreamaktuell
neueste erkannte Version4.99.7

https://github.com/lsof-org/lsof

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:lsof
Version4.99.7
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/lsof
Homepagehttps://github.com/lsof-org/lsof
Repositoryhttps://github.com/lsof-org/lsof
Upstream-Dokumentationhttps://lsof.readthedocs.io/en/latest
Lizenzlsof
Quellarchivhttps://github.com/lsof-org/lsof/archive/refs/tags/4.99.7.tar.gz
Zuletzt aktualisiert2026-06-16T17:44:41Z
Pulseupdated
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelsof
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

liblsof-dev 4.99.4+dfsg-2

utility to list open files (development files)

https://github.com/lsof-org/lsof

sudo apt install liblsof-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lsof
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Lsof
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblsof-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblsof0 4.99.4+dfsg-2

utility to list open files (shared library)

https://github.com/lsof-org/lsof

sudo apt install liblsof0
  • Section: libs
  • Architecture: amd64
  • Source Package: lsof
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Lsof
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblsof0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lsof 4.99.4+dfsg-2

utility to list open files

https://github.com/lsof-org/lsof

sudo apt install lsof
  • Section: utils
  • Architecture: amd64
  • 4 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Lsof
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lsof from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lsof

nix profile install nixpkgs#lsof
  • normalized package name match
  • Abgeglichen nach: Lsof
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ls/lsof/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

lsof 4.95.0-1build3

utility to list open files

https://github.com/lsof-org/lsof

sudo apt install lsof
  • Section: utils
  • Architecture: amd64
  • 3 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Lsof
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lsof from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

lsof 4.99.6-r0

LiSt Open Files

https://github.com/lsof-org/lsof

sudo apk add lsof
  • License: custom
  • Architecture: x86_64
  • Source Package: lsof
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Lsof
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lsof from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lsof-doc 4.99.6-r0

LiSt Open Files (documentation)

https://github.com/lsof-org/lsof

sudo apk add lsof-doc
  • License: custom
  • Architecture: x86_64
  • Source Package: lsof
  • normalized package name match
  • Abgeglichen nach: Lsof
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lsof-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

lsof 4.99.6-1.fc45

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

https://github.com/lsof-org/lsof

sudo dnf install lsof
  • License: lsof
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: lsof
  • 4 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Lsof
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lsof from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

lsof 4.99.6-1

Lists open files for running Unix processes

https://github.com/lsof-org/lsof

sudo pacman -S lsof
  • License: custom
  • Architecture: x86_64
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Lsof
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lsof from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

liblsof0 4.99.4-3.3

Library for listing information about files opened by process

https://github.com/lsof-org/lsof

sudo zypper install liblsof0
  • License: Zlib
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: lsof
  • 3 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Lsof
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: liblsof0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

lsof 4.99.4-3.3

A Program That Lists Information about Files Opened by Processes

https://github.com/lsof-org/lsof

sudo zypper install lsof
  • License: Zlib
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: lsof
  • 3 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Lsof
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lsof from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

lsof-devel 4.99.4-3.3

Library for listing information about files opened by process

https://github.com/lsof-org/lsof

sudo zypper install lsof-devel
  • License: Zlib
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: lsof
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Lsof
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lsof-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment