You may need to find all processes accessing particular directories i.e. /home/user. You can use fuser command to list all processes as follow:

fuser -va /home/user

Replace /home/user with actual path. lsof is another way but it shows all files including network sockets by default. With fuser, you do not need to grep the output.

Linux – List all processes accessing particular directory

Last Updated on

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.