Using DFS commands and files

Monitoring the use of local resources by remote systems

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''.

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

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004