Skip to content

Instantly share code, notes, and snippets.

@avovsya
avovsya / README.md
Created August 23, 2019 11:26 — forked from xavriley/README.md
Arpeggiator in Sonic Pi

Arpeggiator in Sonic Pi

This is a work in progress

@avovsya
avovsya / how-to-find-the-pid-of-a-process-using-a-given-port.md
Created January 4, 2017 12:16 — forked from nepsilon/how-to-find-the-pid-of-a-process-using-a-given-port.md
How to find the PID of a process using a given port? — First published in fullweb.io issue #80

How to find the PID of a process using a given port?

Sometimes you have a process you lost the PID, and would like to kill it.

You can use top (or better htop) to search for your process name and press k to kill it. But this isn’t optimal when you aren’t sure of its name. A better alternative is to search by the port opened, for example port 80:

sudo lsof -i :80
config.json
reading-image.png