Skip to content
/ nkill Public

Kills all processes listening on the given TCP ports

Notifications You must be signed in to change notification settings

ridha/nkill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

nkill

Kills all processes listening on the given TCP ports.

Install

You need go installed and GOBIN in your PATH. Once that is done, run the command:

   $ go get -u github.com/ridha/nkill

Usage

To kill any process listening to the port 8080:

    nkill 8080

Sometimes process fork and will need to be killed many times:

    watch -n 0 "nkill 8080"
Inspiration

http://voorloopnul.com/blog/a-python-netstat-in-less-than-100-lines-of-code/

About

Kills all processes listening on the given TCP ports

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages