Check file usage using fuser
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
Related Articles:
- 2010/06/02 Logwatch for Linux Systems.
- 2010/06/22 Oracle GUI client on Linux with mysql support
- 2010/06/21 concatenate compressed and uncompressed logs
- 2010/06/06 Play media files in fedora.
- 2010/06/05 How To Install Ailurus On Fedora
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.