Hacker GitHub

← All repos

jkfran/killport

View on GitHub ↗ ★ 1,842 Rust

A command-line tool to kill processes and containers running on specified ports.

9 mentions on Hacker News by 7 people: 4 stories, 5 comments · first 2023-03-27 · latest 2026-03-20

Mentions per year 9 mentions · busiest year 2023 (7)
20082026
  1. …this and starting to use it daily! For the even less patient there's also this (not mine): https://github.com/jkfran/killport
  2. I love how there's a special case behavior for the hardcoded process name "docker." Just incredible: https://github.com/jkfran/killport/blob/main/src/linux.rs#L9... But seriously kids, take the time to learn Unix tools so you can save…
  3. Looking at https://github.com/jkfran/killport/blob/3a43d037c08ab3aec730... , it will match on all four.
  4. …an UNIX one liner), and an unhandled crash could lower the confidence of the user in the tool. [1] https://github.com/jkfran/killport/blob/3a43d037c08ab3aec730... [2] https://github.com/jkfran/killport/blob/3a43d037c08ab3aec730...
  5. Holy smokes: https://github.com/jkfran/killport/blob/main/src/linux.rs#L8...