HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 7 Command Definitions S-SO

SHOWDEV

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Reports the status of input/output devices.

Syntax

SHOWDEV [ ldev classname ] [;ACD]

Parameters

ldev

Logical device number of device for which status information is to be displayed. This number is unique for each device. Default is that status information for all system devices on the system is displayed.

classname

Device class name of device(s) for which status information is to be displayed. This name may apply to several devices. Default is that status information for all devices on the system is displayed.

ACD

Keyword requesting display of ACD (access control definition) for the device.

Operation Notes

The SHOWDEV command displays the status information for all input and output devices on the system. The display spacing is important and has been changed after the 4.7 release. The display appears in the following format:

  SHOWDEV

Total number of blanks between items after release 4.7

5 9 9 9 3
LDEV AVAIL OWNERSHIP VOLID DEN ASSOCIATION
1 DISC N/A
2 DISC N/A
3 DISC N/A
4 DISC N/A
5 AVAIL
6 SPOOLED SPOOLER OUT
7 AVAIL
8 AVAIL
9 AVAIL
10 A AVAIL
11 DISC N/A
12 DISC N/A
13 DISC N/A
14 DISC N/A
15 DISC N/A
16 DISC N/A
17 AVAIL
18 AVAIL
19 SPOOLED
20 A UNAVAIL #S914: 8 FILES
21 A AVAIL
COLUMN

MEANING

LDEV

Includes the logical device number and may include one of the following:

J

Accepts jobs.

D

Accepts data.

A

Accepts jobs and data.

AVAIL

Lists the availability of devices and disks as follows:

AVAIL

The device is available as a real, nonshareable device.

AVAIL W

The device is a tape with write enable on the media.

SPOOLED

The device is available for input or output spooling.

UNAVAIL

The device is not available; it is under the control of a job, session, or a system process, such as a spooler.

DISC

The device is a disk and is always available.

DISC (RPS)

The device is a CS-80 disk on which rotational position sensing (RPS) has been enabled.

OWNERSHIP

Includes device ownership and may include one of the following:

SYS

Controlled by the system. If #nnn appears, it specifies the process identification number (PIN) of the controlling process (program).

SPOOLER IN

Input spooling in effect, controlled by spooler.

SPOOLER OUT

Output spooling in effect, controlled by spooler.

#Jnnn

Controlled by the indicated job.

#Snnn

Controlled by the indicated session.

nn FILES

Indicates number of files currently in use on a disk.

DOWN

Device is offline, requested by system operator with the DOWN command.

DP

Device is being taken offline (DOWN command operation pending).

VOLID

The volume identification and may include one of the following:

IBM

The named magnetic tape volume that has a label written in the IBM format.

ANSI

The named magnetic tape volume that has a label.

NOLABEL

The named magnetic tape volume that has no label. Default.

DEN

Density of the tape, which may include one of the following:

6250

Density of 6250 BPI (bytes-per-inch).

1600

Density of 1600 BPI, or the density of the tape is unrecognizable.

ASSOCIATION

Indicates the logical devices by device class that have been established by the user with the ASSOCIATE command.

ACD

Access Control Definition. May include any of the following information per username.acctname:

R

READ access.

W

WRITE access.

L

LOCK access.

A

APPEND access.

X

EXECUTE access.

NONE

NO access.

RACD

Copy or read the ACD.

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break aborts the execution of this command.

Examples

To display the status of the device identified by logical device number 5 enter:

  SHOWDEV 5
LDEV AVAIL OWNERSHIP VOLID DEN ASSOCIATION
5 SPOOLED SPOOLER OUT

To display the status of all devices of the device class CARD, enter:

  SHOWDEV CARD
LDEV AVAIL OWNERSHIP VOLID DEN ASSOCIATION

6 A AVAIL

Related Information

Commands

DISCRPS, ABORTIO

Manuals

Performing System Operation Tasks

Feedback to webmaster