fuser - identify processes using files or sockets
Posted: Wed Dec 14, 2016 3:33 pm
Using the following command to check which user(s) are using the file systems.
E.g.
The process(es):
Once the process(es) is(are) determined, admin can then kill the process(es) and will be able to un-mount the file system(s).
Code: Select all
# fuser -c <file system>
# fuser -u <file system>
Code: Select all
# fuser -c /user/hsiaoc1
/user/hsiaoc1: 30111c
# fuser -u /user/hsiaoc1
/user/hsiaoc1: 30111c(hsiaoc1)
Code: Select all
# ps -ef | grep 30111
hsiaoc1 30111 30109 0 12:28 pts/0 00:00:00 -ksh