|
|
To monitor the use of local resources by remote systems, use the
dfmounts command which accepts the following syntax:
dfmounts [-F fstypes] [-h] [-o fs_options] [restriction]
If you enter dfmounts without arguments, the system displays all local resources currently mounted by remote systems.
The dfmounts command displays a header, which is optional,
followed by lines consisting of the fields:
resource server pathname clients ...
where resource is the shared resource name; server is the system from which the resource is available; pathname is the pathname of the shared resource as it was given to the share command; and clients is a list (separated by commas) of clients that have mounted the resource.
See the dfmounts(1nfs) manual page for an explanation of the options accepted by the dfmounts command. For an example of dfmounts in use, see ``Example: monitoring use of resources by remote systems''.
You want to see which clients are mounting the NFS resources
on the system called ``main.'' You do not want a header to be displayed.
Type the following:
dfmounts -F nfs -h main
The system displays the following output:
- main /export dancer, runner - main /usr/man jogger - main /usr/share dancer, runner