Created
June 3, 2011 14:09
-
-
Save randika/1006395 to your computer and use it in GitHub Desktop.
Check whether the mongrel port 3000 is open
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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