Skip to content

m7ov/lsof

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors