Skip to content

Instantly share code, notes, and snippets.

@lin
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save lin/8a22cd472b51f5df07be to your computer and use it in GitHub Desktop.

Select an option

Save lin/8a22cd472b51f5df07be to your computer and use it in GitHub Desktop.

Processes Snapshot (ps)

And to see every process on the system using BSD syntax: (aux)

ps aux | grep unicorn
kill -9 <pid>
 sudo netstat -tulpn | grep :27017

Mac Equavalent Command

lsof -n -i4TCP:27017 | grep LISTEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment