refine lsof output