tcl.fuser Verb: Access/TCL

tcl.fuser

Command tcl.fuser Verb: Access/TCL
Applicable release versions: AP/Unix
Category TCL (746)
Description displays ownership information about a device.

"fuser" is useful to determine which tape device is currently used, especially in an environment where several virtual machines are active, or where a Unix application shares devices with a Pick virtual machine.

"device.number" is the tape/device number, obtained from the "list-device" command.

"device.name" is the device name. This form can be used with any device name, even if it is not part of the tape devices normally used by the Pick virtual machine. The usual Unix wild cards are allowed ( eg. 'fuser /dev/*fd0*', which examines all devices connected to the floppy drive 0).

"*" selects all Tape devices. This is the default option.
Syntax fuser {device.number} {(option}
fuser {device.name} {(option}
fuser {*} {(option}
Options p Directs output to system printer, via the Spooler.
Example
fuser *
DEVICE       PID  TTY   PIB USER ACCOUNT MODE/COMMAND
/dev/rfd0h:  1265 tty2  001 dm   dm      tp.chk:000
/dev/rfd0l:
/dev/rfd1.15:
/dev/rfd1.9:
/dev/rmt0.1:
/dev/rmt1.1:
/dev/rmt1.5:
/dev/px.gate:
Purpose
Related tcl.t-att
tcl.set-device
tcl.list-device
tcl.t-verify
tcl.t-status
ue.e070
tcl.t-select
tcl.t-stat