🍺 BREW Explorer

← all formulae

lsof

brew install lsof v4.99.7 lsof keg-only

Utility to list open files

555
30-day installs · #1679
1.7k
90-day · #1735
10.1k
365-day · #1421
561
★ GitHub stars · updated 2mo ago

GitHub topics

lsof

Links

Keg-only reason

:provided_by_macos

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Utility to list open files",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:37+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "lsof",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-18T09:50:30Z",
  "github_readme_excerpt": "[![Circle CI](https://circleci.com/gh/lsof-org/lsof.svg?style=svg)](https://circleci.com/gh/lsof-org/lsof)\n[![Cirrus CI](https://img.shields.io/cirrus/github/lsof-org/lsof)](https://cirrus-ci.com/github/lsof-org/lsof)\n[![builds.sr.ht status](https://builds.sr.ht/~jiegec/lsof.svg)](https://builds.sr.ht/~jiegec/lsof?)\n[![Read the Docs](https://readthedocs.org/projects/lsof/badge/?version=latest)](https://lsof.readthedocs.io/en/latest/)\n\n# lsof\n\n[lsof](https://en.wikipedia.org/wiki/Lsof) is a command listing open files.\n\n## How it works:\n\n```\n$ cat \u003e /tmp/LOG \u0026\ncat \u003e /tmp/LOG \u0026\n[1] 18083\n$ lsof -p 18083\nlsof -p 18083\nCOMMAND   PID   USER   FD   TYPE DEVICE  SIZE/OFF     NODE NAME\ncat     18083 yamato  cwd    DIR   0,44      1580 43460784 /tmp/lsof\ncat     18083 yamato  rtd    DIR  253,2      4096        2 /\ncat     18083 yamato  txt    REG  253,2     47432   678364 /usr/bin/cat\ncat     18083 yamato  mem    REG  253,2 111950656   681778 /usr/lib/locale/locale-archive\ncat     18083 yamato  mem    REG  253,2   2119256   679775 /usr/lib64/libc-2.27.so\ncat     18083 yamato  mem    REG  253,2    187632   655943 /usr/lib64/ld-2.27.so\ncat     18083 yamato  mem    REG  253,2     26370   662532 /usr/lib64/gconv/gconv-modules.cache\ncat     18083 yamato  mem    REG  253,2      3316  1578981 /usr/lib/locale/en_US.utf8/LC_TIME\ncat     18083 yamato    0u   CHR  136,3       0t0        6 /dev/pts/3\ncat     18083 yamato    1w   REG   0,44         0 54550934 /tmp/LOG\ncat     18083 yamato    2u   CHR  136,3       0t0        6 /dev/pts/3\n```\n\nRead the documentation at [lsof.readthedocs.io](https://lsof.readthedocs.io/)\n\n# lsof-org at GitHub\n\nThe lsof-org team at GitHub takes over the maintainership of lsof originally\ndeveloped and maintained by Vic Abell. This repository is for maintaining the\nfinal source tree of lsof inherited from Vic. \"legacy\" branch keeps the original\nsource tree. We will not introduce any changes to the \"legacy\" branch. This\nbranch is just for reference.\n\n\"master\" br",
  "github_repo": "lsof-org/lsof",
  "github_stars": 561,
  "github_topics": [
    "lsof"
  ],
  "homepage": "https://github.com/lsof-org/lsof",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 555,
  "installs_365d": 10079,
  "installs_90d": 1671,
  "keg_only": 1,
  "keg_only_reason": ":provided_by_macos",
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "lsof",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "lsof",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 1679,
  "rank_365d": 1421,
  "rank_90d": 1735,
  "raw_hash": "ab5f3960480dd680",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/l/lsof.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "4.99.7",
  "versioned_formulae": [],
  "why_use_this": null
}