get PID hogging a port

 i keep needing this but keep forgetting how to as well

netstat -abo | grep -A 1 '61618'

-a: display all connections and listening port

-b: display the executable involved

-o: display PID of the above

-A x: print x line following a match. This is important because on windows, the PID of the owning process is printed on the next line

1 komentar:

Ari mengatakan...

Halo, Mas. Apa kabar?

Posting Komentar