Release Name: 0.1.0
Notes:
= Lsof
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.
== Usage
Lsof.running?(6666) # returns true if there is the process that listens on port 6666
Lsof.kill(6666) # kill the process that listens on port 6666
Lsof.listener_pid(6666) # returns the process id for the process that listens on port 6666
Changes:
|