lsof

Installation
SKILL.md

lsof - List Open Files Enhancement

The lsof module provides a more intuitive way to interact with the system's open file list. It supports an interactive TUI for exploration and allows exporting results in common data formats.

When to Activate

  • When investigating file locking issues or identifying process ownership of files.
  • When performing interactive searches of open files using FZF.
  • When exporting open file data to CSV or TSV for script processing.
  • When needing thread-level details (--task) for open files.

Core Principles & Rules

  • Interactive TUI: Automatically displays a TUI when connected to a terminal; otherwise, defaults to TSV.
  • Data-Centric: Use --csv or --tsv when the output is intended for automation or external analysis.
  • Searchable: Leverage the fz subcommand for fast interactive filtering.

Patterns & Examples

Interactive Search

Related skills

More from x-cmd/skill

Installs
3
Repository
x-cmd/skill
GitHub Stars
20
First Seen
Apr 10, 2026