Skip to content

About

Lsof Ruby Gem

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

Lsof has some utility functions that allow you to manage processes using the unix lsof command. Functions include getting the pid and killing a process that listens on a particular port.

Lsof.running?(6666) # returns true if there is the process that listens on port 6666
Lsof.kill(6666) # kill the processes that listens on port 6666
Lsof.listener_pids(6666) # returns the process ids for the process that listens on port 6666
http://groups.google.com/group/pivotallabsopensource
http://www.pivotaltracker.com/projects/10604

Copyright © 2010 Pivotal Labs. This software is licensed under the MIT License.

About

Lsof Ruby Gem

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors