Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fuser(1M) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(1M)

ps(1)

kill(2)

signal(2)



fuser(1M)                      DG/UX 5.4R3.00                      fuser(1M)


NAME
       fuser - identify processes using a file or file structure

SYNOPSIS
       /etc/fuser [ -kuF ] files [ - ] [[ -kuF ] files]

DESCRIPTION
       Fuser lists the process ids of the processes using files.  Fuser does
       not identify processes on remote machines using files through NFS.
       For block special devices, all processes using any file on that
       device are listed.  The process ids are followed by c or r if the
       process is using the file as its current directory or its root
       directory and a t if the process is currently executing the file.

       If you use the -u option, the login name, in parentheses, also
       follows the process id.  In addition, if the -k option is specified,
       the SIGKILL signal is sent to each process.  Only the superuser can
       terminate another user's process (see kill(2)).  The -F option
       matches any file on the same file system.  Options may be re-
       specified between groups of files.  The new set of options replaces
       the old set; a single dash (-) cancels any options currently in
       force.

       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.

EXAMPLES
       /etc/fuser -ku /dev/dsk/test
              If typed by the superuser, terminates all processes that are
              preventing the file system on the virtual disk named `test'
              from being unmounted and lists the process IDs and login name
              of each process as it is killed.

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

       /etc/fuser -ku /dev/dsk/test -u /etc/passwd
              Performs both of the first two examples in a single command
              line.

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












Licensed material--property of copyright holder(s)                         1


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