lsof working with thread!!

Not perfact but something is better than nothing..first attempt of
threading