MY ASS
May 10, 2008
PowerBook:~ thomholwerda$ sudo lsof | grep ExplainingBBLeadership.pdf
Password:
Finder 94 thomholwerda txt REG 14,2 82162 2482912 /Users/thomholwerda/.Trash/ExplainingBBLeadership.pdf
What I dont understand is why the goddamn “File in use” error dialog doesn’t tell me WHAT process is using it.
“The world’s most advanced operating system” MY ASS.


You need to check out Sloth.
http://www.sveinbjorn.org/sloth
Comment by Adam S — May 11, 2008 @ 12:55 am
Oooh slick :). Thanks!
Comment by Administrator — May 11, 2008 @ 2:06 am
Why use lsof ? fuser will do just this :
NAME
fuser - list process IDs of all processes that have one or more files
open
SYNOPSIS
fuser [ -cfu ] file …
Comment by Tyr — May 11, 2008 @ 7:48 am