Search:
+subject: fileuser - show processes having opened a particular file

FILEUSER(1)                                           FILEUSER(1)



NAME
       fileuser - show processes having opened a particular file

SYNOPSIS
       fileuser [options] file ...

DESCRIPTION
       fileuser  is  similiar  to  fuser(1).   It  prints type of
       usage, process id, username and command line for each pro-
       cess  that has one of the given files opened.  The type of
       usage is indicated by a single  character  in  the  second
       (space separated) output field:

       d      file  is  the current working directory of the pro-
              cess.

       o      file is opened as usual file.

       r      file is the root directory of the process.

       x      file is the executable of the process.

       By default fileuser looks only for opened files.  This may
       be changed with the command line options.

OPTIONS
       -a     report  usage  as  opened file, executable, working
              directory or root directory.

       -b text
              prints text before each process line.

       -d     report usage as current directory only.

       -e     report usage as executable only.

       -k signal
              send each process having one  of  the  given  files
              opened the signal signal.

       -o     report usage as opened file only (default setting).

       -q     supresses the normal output of process lines.  This
              is  useful  if you just want to terminate processes
              by  netuser.   Specifying  -q  twice  turns   error
              reporting trough stderr off.

       -r     report usage as root directory only.

       -x     report usage as opened file or executable.

SEE ALSO
       akanga(1), netuser(1).




                          11 April 2002               FILEUSER(1)