ORA-DB-ONE

fuser command to find out processes that hold references to the filesystem.

Posted in Linux by jackyoon on January 18, 2012

To find out which processes hold references to the filesystem, use fuser -cv option to print out processes with their commands.

$ fuser -cv /usr

USER PID ACCESS COMMAND
/usr root 283 ….m atd

root 839 ….m sshd

etc


Codes Meaning
f,o The process has a file open for reading or writing
c The process’s current directory is on the filesystem
e,t The process is currently executing a file.
r The process’s root directory(set with chroot) is on the filesystem.
m,s The process has mapped a file or shared library.
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.