Skip to content

Instantly share code, notes, and snippets.

@simonmcc
Created January 13, 2010 23:54
Show Gist options
  • Save simonmcc/276700 to your computer and use it in GitHub Desktop.
Save simonmcc/276700 to your computer and use it in GitHub Desktop.
simonm@MacBook:~$ ps -ef | grep ruby
501 21454 14897 0 0:00.45 ttys000 0:01.79 ruby ./script/server
501 21516 21462 0 0:00.00 ttys001 0:00.00 grep ruby
simonm@MacBook:~$ lsof -i :3000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ruby 21454 simonm 4u IPv4 0x0ba58710 0t0 TCP *:hbci (LISTEN)
simonm@MacBook:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment