use lsof properly