What is lsof?
lsof is made by Red Hat. A command-line utility that lists information about files opened by processes on a Unix-like system, enabling administrators to identify which processes are using which files, sockets, and devices.
What lsof does
A command-line utility that lists information about files opened by processes on a Unix-like system, enabling administrators to identify which processes are using which files, sockets, and devices.
- List all open files by process
- Show processes using a specific file or directory
- Display network sockets (TCP/UDP) in use
- Filter by user, PID, command, or file descriptor
- Identify files deleted but still held open
- Map files to devices and mount points
- Show IPv4/IPv6 connections and listening ports
- Resolve paths and inodes for open files
Category: File Analysis Software. lsof is open source and free to use.
What it overlaps with
These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.
Questions buyers ask
What does lsof do?
A command-line utility that lists information about files opened by processes on a Unix-like system, enabling administrators to identify which processes are using which files, sockets, and devices.
How common is lsof in large enterprises?
Samplify finds lsof in about 1 in 10 of the large enterprise software estates it has analysed.
Is lsof free?
lsof is open source and free to use.
What can replace lsof?
Other tools in the same category include 7-Zip, Beyond Compare, Pandoc, TreeSize.
Do we already own something that does what lsof does?
Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.
Paying twice for the same job?
Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.
Where this comes from
Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with Red Hat.