fuser

fuser


free Index Level generic-restore
Syntax fuser {device.number} {(option}
fuser {device.name} {(option}
fuser {*} {(option}
Category TCL
Type Verb
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.
Options p  Directs output to system printer, via the Spooler.
See Also t-att set-device list-device t-verify t-status ue070 t-select t-stat
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:
Warnings This command is not available on all versions of Unix. It requires 'root' privilege, therefore the Pick process should be started from 'root', with the '-l' option to retain root's id.
Compatibility D3/Unix
free Index Level generic-restore