Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fuser(1M) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(1M)

ps(1)

kill(2)

signal(3)




fuser(1M) fuser(1M)
NAME fuser - identifies processes using a file or file structure SYNOPSIS fuser [-] [-k] [-nnamelist] [-u] file... ARGUMENTS - Cancels any options currently in force before specifying a new group of files. file ... Specifies the file used as the argument when processing. -k Sends the SIGKILL signal to each process. Only the superuser can terminate another user's process (see kill(2)). -nnamelist Specifies an alternate namelist (/unix is the default). -u Indicates that the login name, in parentheses, also follows the process ID. 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. You can respecify options between groups of files. The new set of 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. EXAMPLES fuser -ku /dev/dsk/c1d0s0 allow the superuser 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/c1d0s0 -u /etc/passwd will do both of the above examples in a single command January 1992 1



fuser(1M) fuser(1M)
line. LIMITATIONS fuser cannot determine what processes are using the file arguments on remotely mounted file systems. FILES /etc/fuser Executable file /unix Kernel file /dev/kmem File containing the system image /dev/mem File containing the system image /dev/swap File used for outswapped processes SEE ALSO mount(1M) ps(1) in A/UX Command Reference kill(2), signal(3) in A/UX Programmer's Reference 2 January 1992

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