Ubuntu: Path with busy NFS [closed]



Question:

How do we find "path with busy NFS (Network-File-System)"?


Solution:1

Read man fuser, and do something like:

mount | grep "type nfs" | awk '{print $3}' | xargs -n 1 fuser --all --mount  

Explained:
mount lists all mounted filesystems
grep "type nfs" selects only NFS mounts
awk '{print $3}' prints the third field (the mount point)
xargs -n 1 builds a command with ONE parameter for each line on STDIN, and with
fuser --all --mount as the prefix, and executes the command.
fuser --all --mount <mountpoint> does what it says in man fuser.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »