Skip to content

Instantly share code, notes, and snippets.

@tuanmai
Created November 10, 2016 04:49
Show Gist options
  • Save tuanmai/d04281bbf5a9a7ad02adedffef34dec8 to your computer and use it in GitHub Desktop.
Save tuanmai/d04281bbf5a9a7ad02adedffef34dec8 to your computer and use it in GitHub Desktop.
lsof -nP +c 15 | grep LISTEN
```
com.docker.slir 1676 tuanmai 19u IPv4 0x833f33a136ee0815 0t0 TCP *:10871 (LISTEN)
com.docker.slir 1676 tuanmai 21u IPv6 0x833f33a13723fb95 0t0 TCP [::1]:10871 (LISTEN)
com.docker.slir 1676 tuanmai 23u IPv4 0x833f33a13a3c8435 0t0 TCP *:32773 (LISTEN)
com.docker.slir 1676 tuanmai 25u IPv6 0x833f33a136b18b75 0t0 TCP [::1]:32773 (LISTEN)
com.docker.slir 1676 tuanmai 26u IPv4 0x833f33a136f55435 0t0 TCP *:5431 (LISTEN)
com.docker.slir 1676 tuanmai 27u IPv6 0x833f33a12d071615 0t0 TCP [::1]:5431 (LISTEN)
com.docker.slir 1676 tuanmai 29u IPv4 0x833f33a136bdea05 0t0 TCP *:3000 (LISTEN)
```
kill -9 1676
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment