Check file usage using fuser

2010-06-24 1 min read Fedora Linux

There is a package called psmisc that provides a useful application fuser. The package provides the below (on fedora):

/sbin/fuser
/usr/bin/killall
/usr/bin/peekfd
/usr/bin/pstree
/usr/bin/pstree.x11

There are couple of options you can provide on the terminal to fuser. The main purpose of the binary is to check the process id of the process using the file. This can be useful if some file operation on a file is blocking something for you 🙂

Here is the command :

/sbin/fuser -v -m /

You can look at the other options that fuser supports with

/sbin/fuser -h

comments powered by Disqus