man uafuser





NAME


  uafuser - Display PID's for files or filesystems


SYNOPSIS


  uafuser filename|mount-point


DESCRIPTION


  The uafuser command is an implementation of the fuser() function.  Either a
  filename or mount-point can be queried.


EXAMPLES


  Displaying processes with a file open:

       sxkac@nugget: sudo ./uafuser uafuser
       Open  uafuser:
       USER	  PID  PPID COMMAND
       root	 6606  5551 ./uafuser uafuser

  Displaying processes with files on a mount point:

       sxkac@nugget: sudo ./uafuser /users
       Open  /users:

       Mount /users:
       USER	  PID  PPID COMMAND
       sxsysu	 5903 25668 uaio -Swtnie rz6 rz?20 100 36
       sxsysu	25668	  1 ksh job/uaio.ksh
       sxelm	 4859 30201 -ksh (ksh)
       sxelm	 5175  4859 sqlplus


RESTRICTIONS / NOTES


  Root authority is required to report information on other processes.

  uafuser can be used to determine who is holding a filesystem preventing a
  umount.  Under DU v3.2g mount points defined for nfs automount do not show
  as open but can prevent a filesystem from being umount'd; you may consider
  stopping nfsmount and nfs if you have difficulting umount'ing a filesystem
  for maintenance.

  This program is Digital UNIX specific at this time.


ACKNOWLEDGEMENTS


  The uafuser utility was written at the University of Alaska.
  This is really a pretty trivial program, but what the heck it is useful.


RELATED INFORMATION


  Functions: fuser(2).