Tuesday, January 11, 2011

Use lsof to find out which process has open handles for a file. 'lsof +D /path' will find all processes for the given path. This is useful for unmount

Use lsof to find out which process has open handles for a file. 'lsof +D
/path' will find all processes for the given path. This is useful for
unmounting media.

No comments:

Post a Comment