in reply to How do I know if a file is used by another process?

Maybe non-generic answers sucks, but anyway, if you should happen to be on a Solaris box, you could always use the command "fuser". I dunno in which release of Solaris it was introduced, but it's present in 2.6, 7 and 8.