Sloth
Free open files viewer for Mac that lists the files, sockets and pipes each process is using.
Sloth shows every open file, folder, network socket, pipe and device in use by the processes running on your Mac. It answers questions like which app is holding a file you cannot eject or delete, or which program has a port open.
It is a graphical front end for the lsof command line tool. Results appear in a sortable, searchable outline grouped by process. You can filter by name, access mode, volume, type or location, use regular expressions, and sort by process name, file count, process ID, user ID or bundle identifier.
For IP sockets it shows status, protocol, port and version, and it can show the sockets and pipes that connect two processes. An inspector window gives detailed file, socket and process info, and a contextual menu offers file operations. To see processes owned by other users, authenticate inside the app and scan with root privileges.
Sloth is free and open source under the BSD 3-Clause licence, made by Sveinbjörn Þórðarson and maintained since 2004. The download is about 1.3 MB, signed and notarized, and runs natively on Apple Silicon and Intel with macOS 11 or later.
Frequently asked questions
Is Sloth free?
Yes. Sloth is free, with no paid version. The developer accepts donations.
Is Sloth safe and open source?
Yes. The source code is on GitHub under the BSD 3-Clause licence, and the app is Developer ID signed and notarized by Apple. It only asks for admin rights when you choose to scan as root.
How do I install Sloth?
Download the zip from sveinbjorn.org/sloth or GitHub and move Sloth to Applications. With Homebrew, run brew install --cask sloth, which may lag behind the latest version.
What macOS version does Sloth need?
Sloth 3.6 needs macOS 11 or later and is a universal app for Apple Silicon and Intel. For macOS 10.13 to 10.15 use version 3.4, and for 10.9 to 10.12 use version 3.2.
How do I find which app is using a file on my Mac?
Open Sloth and type the file or volume name in the filter field. The list shows every process that has it open. Open the inspector for details, or use the contextual menu for file operations.
Can Sloth show network connections and open ports?
Yes. Filter by IP sockets to see each connection with its protocol, port and status, along with the process that owns it.
Gallery
No images yet.
Apps like Sloth
More apps from Menu Bar & System.

Stats
Free system monitor for Mac that shows CPU, GPU, memory, network and battery stats in the menu bar.
Menu Bar & SystemFree

MonitorControl
Free brightness control for Mac that sets external monitor brightness and volume from your keyboard.
Menu Bar & SystemFree

Ice
Free menu bar manager for Mac that hides, shows and rearranges your menu bar icons.
Menu Bar & SystemFree
More in Menu Bar & System

Applite
Free Homebrew GUI for Mac that installs, updates and removes apps in one click, no Terminal needed.
Menu Bar & SystemFree

Lunar
External monitor brightness control for Mac that changes real brightness, contrast and volume over DDC.
Menu Bar & SystemFreemium

Latest
Free app update checker for Mac that lists which apps have updates and shows what changed.
Menu Bar & SystemFree