Tuesday, October 14, 2008

Find open files with lsof in Linux

The lsof command is used to list files that are open. It is useful for finding why a device is still busy before unmounting or which files an application has open. lsof may need to be run as root to list all open files. There are several examples in the source linked below.

No comments:

Post a Comment