replace lsof usage
Merge pull request #1 from bparees/master

replace lsof usage