Hacker GitHub

← All repos

red-bin/lsofer

View on GitHub ↗ ★ 10 Shell

script to match similar functionality to lsof -i, and then some.

5 mentions on Hacker News by 2 people: 0 stories, 5 comments · first 2017-05-15 · latest 2026-08-26

Mentions per year 5 mentions · busiest year 2017 (1)
20082026
  1. …that didn't have lsof installed consistently, or had different versions strewn about: https://github.com/red-bin/lsofer/blob/master/lsofer.sh
  2. …with it is the use of pipes means all cores go to 100% for the few seconds it takes to run. [1] https://github.com/red-bin/lsofer
    comment by chaps · 2023-10-25 · in Not knowing the /proc file system
  3. …board. So I needed something tool agnostic, short, auditable, and effectively guaranteed to work: https://github.com/red-bin/lsofer/blob/master/lsofer.sh
  4. …hosts I was working with. So, it turned into a script to parse through /proc and other nonsense. https://github.com/red-bin/lsofer/blob/master/lsofer.sh (wish I could paste the graphing code, but it's code I wrote at my company.)
  5. The code is behind my company's GH, but here's a rewrite of the collector script: https://github.com/red-bin/lsofer/blob/master/lsofer.sh