Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fuser(1M) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ps(1)

mount(1M)

kill(2)

signal(3)



     fuser(1M)                                               fuser(1M)



     NAME
          fuser - identify processes using a file or file structure

     SYNOPSIS
          /etc/fuser [-] [-k] [-nnamelist] [-u] files

     DESCRIPTION
          fuser lists the process IDs of the processes using the files
          specified as arguments.  For block special devices, it lists
          all processes using any file on that device.  The process ID
          is followed by c, p or r if the process is using the file as
          its current directory, the parent of its current directory
          (only when in use by the system), or its root directory,
          respectively.

          -    cancel any flag options currently in force before
               specifying a new group of files.

          -k   send the SIGKILL signal to each process.  Only the
               super-user can terminate another user's process (see
               kill(2)).

          -n   specify an alternate namelist (/unix is the default).

          -u   the login name, in parentheses, also follows the
               process ID.

          You can respecify options between groups of files.  The new
          set of flag options replaces the old set.

          The process IDs are printed as a single line on the standard
          output, separated by spaces and terminated with a single new
          line.  All other output is written on standard error.

     EXAMPLE
          fuser -ku /dev/dsk/1s?
               allow the super-user to terminate all processes
               preventing disk drive one from being unmounted.  List
               the process ID and login name of each as it is killed.

          fuser -u /etc/passwd
               list process IDs and login names of processes that have
               the password file open.

          fuser -ku /dev/dsk/1s? -u /etc/passwd
               will do both of the above examples in a single command
               line.

     FILES
          /etc/fuser
          /unix        for namelist
          /dev/kmem    for system image



     Page 1                                        (last mod. 1/15/87)





     fuser(1M)                                               fuser(1M)



          /dev/mem     also for system image
          /dev/swap    for outswapped processes

     FILES
          /etc/fuser

     SEE ALSO
          ps(1), mount(1M), kill(2), signal(3).















































     Page 2                                        (last mod. 1/15/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026