Sunday, May 22, 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 unmounting media.

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