Linux / Unix Command To Find Out NFS Clients Connected To My NFS Server

Linux / Unix Command To Find Out NFS Clients Connected To My NFS Server

To find out the NFS clients that are connected to your NFS server on Linux or Unix, you can use the showmount command with the -a option. This command will show a list of all the NFS clients that are currently mounted on your NFS server, along with the directories that they are accessing.

To use the showmount command, you can run the following command:

refer‮al:ot ‬utturi.com
showmount -a

This will display a list of all the NFS clients that are currently connected to your NFS server, along with the directories that they are accessing. The output will be similar to the following:

All mount points on localhost:
192.168.1.1:/exports/share1
192.168.1.2:/exports/share2

This indicates that the NFS clients with IP addresses 192.168.1.1 and 192.168.1.2 are currently mounted on your NFS server, and are accessing the /exports/share1 and /exports/share2 directories, respectively.

By using the showmount command, you can easily find out the NFS clients that are connected to your NFS server on Linux or Unix. This can be useful for monitoring and managing your NFS server and its clients.

Created Time:2017-10-16 14:38:52  Author:lautturi