tcl.fuser

Verb: Access/TCL, Releases: AP/Unix

Display ownership info on a device.

Syntax

fuser {device.number} {(option} fuser {device.name} {(option} fuser {*} {(option}

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.

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:

See Also

Command Name Type Description
tcl.t-att Verb: Access Attaches magnetic media unit to current process.
tcl.set-device Verb: Access Attaches device (sct/floppy/half) on AIX.
tcl.list-device Verb: Access Lists Unix devices used as 'tapes'.
tcl.t-verify Verb: Access Validates contents of save tape.
tcl.t-status Verb: Access Displays magnetic media attachment status.
ue.e070 User Exit Returns the current tape reel number into the input buffer.
tcl.t-select Verb: Access Attaches a 'tape' device.
tcl.t-stat Verb: Access reports the current attachment status of all tape devices.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.