whoisusing

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 8 Imported by: 0

README

whoisusing

I didn't like typing in netstat -ano | find "8080" lol so here is a GO based port finder.

Install

From source (requires Go 1.21+)
go install github.com/381sm016/whoisusing@latest
Download binary

Grab the latest release from Releases.

Usage

# Check what's using port 8080
whoisusing 8080

# List all listening ports
whoisusing --all

# Output
PROTO  PORT  PID    PROCESS
TCP    8080  12345  node.exe
Flags
Flag Description
<port> Show process using a specific port
--all, -a List all listening ports and their processes
--help, -h Show help
--version, -v Show version

Build from source

git clone https://github.com/381sm016/whoisusing.git
cd whoisusing
go build -o whoisusing .

Cross-compile

Go makes it easy to build for any platform:

# Linux
GOOS=linux GOARCH=amd64 go build -o whoisusing .

# macOS
GOOS=darwin GOARCH=arm64 go build -o whoisusing .

# Windows
GOOS=windows GOARCH=amd64 go build -o whoisusing.exe .

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL