Skip to content

Instantly share code, notes, and snippets.

@randika
Created June 3, 2011 14:09
Show Gist options
  • Save randika/1006395 to your computer and use it in GitHub Desktop.
Save randika/1006395 to your computer and use it in GitHub Desktop.
Check whether the mongrel port 3000 is open
$ lsof -i -P | grep 3000
ruby 11374 randika 5u IPv4 26389 0t0 TCP *:3000 (LISTEN)
# Terminate the process if you want
$ kill -9 11374
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment