/sys$common/syshlp/helplib.hlb
SHOW, DEVICES, Examples

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    1.$ SHOW DEVICES
      Device         Device      Err.    Volume        Free  Trans Mount
       Name          Status     Count     Label       Blocks Count Count
      DKA0:          Online mnt     0  VMS             47088   115     1
      DKA1:          Online mnt     0  USERPACK1       45216     2     1
      DKA2:          Online mnt     3  DOCUMENT         8068    20     1
      DKA5:          Online mnt     0  MASTERP         28668     1     1
      DKA6:          Online         0
      DKA7:          Online mnt     0  PROJECT        110547     1     1
      DMA0:          Online         0
      DLA0:          Online         0
      DYA0:          Online         0
      DYA1:          Online         0
      DRA3:          Online mnt     0  RES26APR        29317     1     1

      In this example, the SHOW DEVICES command displays the
      following information for each device on the system:

      o  Device name

      o  Device status and characteristics (status indicates whether
         the device is on line; characteristics indicate whether the
         device is allocated, is spooled, has a volume mounted on it,
         or has a foreign volume mounted on it)

      o  Error count

      o  Volume label (for disk and tape volumes only)

      o  Number of free blocks on the volume

      o  Transaction count

      o  Number of mount requests issued for the volume (disk devices
         only)

    2.$ SHOW DEVICE/FULL DKB0:

      Disk $DKB0:, device type RZ56, is online, mounted, file-oriented
          device, shareable, error logging is enabled.

      Error count               0  Operations completed            392750
      Owner process            ""  Owner UIC                        [1,4]
      Owner process ID   00000000  Dev Prot           S:RWPL,O:RWPL,G:R,W
      Reference count         317  Default buffer size                512
      Total blocks        1299174  Sectors per track                   54
      Total cylinders        1604  Tracks per cylinder                 15

      Volume label  "SYSTEM_DISK"  Relative volume number               0
      Cluster size              3  Transaction count                  278
      Free blocks          367632  Maximum files allowed           162396
      Extend quantity           5  Mount count                          1
      Mount status         System  Cache name      "$DKB0:XQPCACHE"
      Extent cache size        64  Maximum blocks in extent cache   36763
      File ID cache size       64  Blocks currently in extent cache 36258
      Quota cache size          0  Maximum buffers in FCP cache       210
      Volume owner UIC      [1,1]  Vol Prot   S:RWCD,O:RWCD,G:RWCD,W:RWCD

      Volume status:  ODS-2, subject to mount verification, protected
           subsystems enabled, file high-water marking, write-through
           caching enabled.

      In this example, the SHOW DEVICES command requests a full
      listing of the status of the RZ56 device DKB0.

    3.$ SHOW DEVICES/REBUILD_STATUS

      Device Name             Rebuild needed?

      ADU15$DKA300:           Information unavailable
      EDIV$DKA300:            Information unavailable
      EMUL$DKB200:            No
      EMUL$DKB300:            No
      EMUL$DKB500:            Yes
      FTA0:                   Not applicable
      OPA0:                   Not applicable

      In this example, the volume mounted on device EMUL$DKB500 needs
      rebuilding.

    4.$ SHOW DEVICES/FULL NODE2$
      Disk NODE2$DUA0:, device type RA81, is online, mounted,
      error logging enabled
       Error count                 0  Operations completed            24195
       Owner UIC            [11,177]  Owner process name
       Owner process ID     20200000  Dev Prot  S:RWPL,O:RWPL,G:RWPL,W:RWPL
       Reference count            16  Default buffer size               512
       Volume label        VMSDOCLIB  Relative volume no.                 0
       Cluster size                3  Transaction count                  17
       Free blocks            525447  Maximum files allowed          111384
       Extend quantity             5  Mount count                         1
       Volume status          System  ACP process name
       Caching disabled
      Volume is subject to mount verification, file high-water marking

      Disk NODE2$DUA1:, device type RA81, is online, error logging enabled
       Error count                 0  Operations completed                0
       Owner UIC               [0,0]  Owner process name
       Owner process ID     20200000  Dev Prot  S:RWED,O:RWED,G:RWED,W:RWED
       Reference count             0  Default buffer size               512
         .
         .
         .

      In this example, the user requested a full display of
      information about each device on NODE2 in the OpenVMS Cluster.
      Information is shown here only for the first two devices: a
      mounted device and a device that is not mounted.

    5.$ SHOW DEVICE $1$DKB1:/FULL

      Disk $1$DKB1: (VMSRMS), device type RRD40, is online, allocated,
      deallocate on dismount, mounted, software write-locked, file-oriented
      device, shareable, served to cluster via MSCP Server

      Error count                  0  Operations completed               15
      Owner process         "_FTA5:"  Owner UIC                       [1,4]
      Owner process ID      2020005D  Dev Prot          S:RWPL,O:RWPL,G:R,W
      Reference count              2  Default buffer size               512
      Total blocks               256  Sectors per track                  32
      Total cylinders              1  Tracks per cylinder                 8
      Allocation class             1

      Volume label        "VOLUME_1"  Relative volume number             64
      Cluster size                 0  Transaction count                   1
      Free blocks                  0  Maximum files allowed               0
      Extend quantity              0  Mount count                         1
      Mount status           Process  ACP process name           "DAD2CACP"

      Volume status:  ISO 9660.
      Members of this volume set are $1$DKB7: (rvn 64), $1$DKB4: (rvn 8),
      $1$DKB1: (rvn 1), $1$DKB12: (rvn 4096), $1$DKB16: (rvn 65535),
      $1$DKB6: (rvn 32).

      In this example, the user requested a full display on a
      VAX system of a device contained on a member of an ISO 9660
      partially mounted volume set. Note the volume status displays
      the media format as ISO 9660, and the volume set list shows a
      sparce list of the currently mounted members of the volume set.

    6.$ SHOW DEVICES MUA1/FULL

      Magtape $4$MUA1: (HSC70), device type TA79, is online, device is
       equipped with a stacker/loader, file-oriented device, available
       to cluster, error logging is enabled.

       Error count               0  Operations completed                  0
       Owner process            ""  Owner UIC                      [SYSTEM]
       Owner process ID   00000000  Dev Prot            S:RWPL,O:RWPL,G:R,W
       Reference count           0  Default buffer size                2048
       Density                1600  Format                        Normal-11
       Host name           "HSC70"  Host type, avail              HS70, yes
       Allocation class          4

      Volume status:  no-unload on dismount, odd parity.

      In this example, the user requested a full display of the tape
      device MUA1.

    7.$ SHOW DEVICE/FULL $1$DKA221

      Disk $1$DKA221: (HSC952), device type RZ29, is online, mounted,
          file-oriented device, shareable, available to cluster, error
          logging is enabled.

       Error count               0  Operations completed               6509
       Owner process            ""  Owner UIC                      [SYSTEM]
       Owner process ID   00000000  Dev Prot            S:RWPL,O:RWPL,G:R,W
       Reference count         108  Default buffer size                 512
       Current preferred CPU Id  1  FastPath                              1
       Total blocks        8380080  Sectors per track                     4
       Total cylinders       65470  Tracks per cylinder                  32
       Host name          "HSC952"  Host type, avail              HS95, yes
       Allocation class          1

       Volume label  "GALAXY_X6L5"  Relative volume number                0
       Cluster size              4  Transaction count                   302
       Free blocks         4691760  Maximum files allowed            838008
       Extend quantity           5  Mount count                           2
       Mount status         System  Cache name        "_$1$DKA221:XQPCACHE"
       Extent cache size        64  Maximum blocks in extent cache   469176
       File ID cache size       64  Blocks currently in extent cache 237504
       Quota cache size          0  Maximum buffers in FCP cache       1734
       Volume owner UIC      [1,1]  Vol Prot    S:RWCD,O:RWCD,G:RWCD,W:RWCD

      Volume Status:  ODS-2, subject to mount verification, protected
          subsystems enabled, file high-water marking, write-through
          caching enabled.
      Volume is also mounted on MEAD.

      This disk is a device that performs its I/O through the Fast
      Path port PNA0. Fast Path is enabled for this disk, and its
      I/O will be processed on the preferred CPU, CPU 1, which is
      associated with its Fast Path port PNA0.

      The /FULL qualifier also displays additional information about
      Fast Path devices. A Fast Path device may be either a class
      device or a port device. An example of a class device is an
      HSC disk, and an example of a port device is the CI. For both
      Fast Path class devices and ports, the display indicates that
      Fast Path is enabled and lists the current CPU ID to which that
      device is assigned. Additionally, for a Fast Path port, the
      display indicates the port's user-established CPU preference
      (if any).

      The current preferred CPU and the User Preferred CPU can be
      set by using the DCL command, SET DEVICES/PREFERRED_CPU, or by
      issuing a $QIO.

      For more information about using Fast Path features to improve
      I/O performance, refer to the OpenVMS I/O User's Reference
      Manual.

    8.$ SHOW DEVICE/FULL PNA0

      Device PNA0:, device type CIXCD, is online, shareable, error logging
          is enabled.

       Error count                 0  Operations completed              0
       Owner process              ""  Owner UIC                  [SYSTEM]
       Owner process ID     00000000  Dev Prot          S:RWPL,O:RWPL,G,W
       Reference count             0  Default buffer size               0
       Current preferred CPU Id    1  FastPath                          1

      The above display shows that port PNA0 is assigned to CPU 1 and
      that Fast Path is enabled.

    9.$ SHOW DEVICE/FULL PNA0

      Device PNA0:, device type CIXCD, is online, shareable, error logging
      is enabled.

       Error count                   0  Operations completed             0
       Owner process                ""  Owner UIC                 [SYSTEM]
       Owner process ID       00000000  Dev Prot         S:RWPL,O:RWPL,G,W
       Reference count               0  Default buffer size              0
       Current preferred CPU Id      1  FastPath                         1
       User preferred CPU Id         2

      This example shows a Fast Path assignment made by a user.

      Normally, the User Preferred CPU ID matches the current
      preferred CPU ID. The reason for the mismatch in the above
      display is because CPU 2 was stopped. The port was previously
      assigned to CPU 2. But when CPU 2 was stopped, the operating
      system moved the port assignment from CPU 2 to CPU 1.

      If CPU 2 were started, the operating system would assign the
      device to the User Preferred CPU.

    10$ SHOW DEVICE/FULL DSA0

      Disk DSA0:, device type RAM Disk, is online, mounted, file-oriented
        device, shareable, available to cluster, error logging is enabled,
        device supports bitmaps (no bitmaps active).

       Error count                 0  Operations completed               47
       Owner process              ""  Owner UIC                    [SYSTEM]
       Owner process ID     00000000  Dev Prot          S:RWPL,O:RWPL,G:R,W
       Reference count             2  Default buffer size               512
       Total blocks             1000  Sectors per track                  64
       Total cylinders             1  Tracks per cylinder                32
      Volume label           "TST0"  Relative volume number              0
       Cluster size                1  Transaction count                   1
       Free blocks               969  Maximum files allowed             250
       Extend quantity             5  Mount count                         1
       Mount status           System  Cache name    "_$252$DUA721:XQPCACHE"
       Extent cache size          64  Maximum blocks in extent cache     96
       File ID cache size         64  Blocks currently in extent cache    0
       Quota cache size            0  Maximum buffers in FCP cache      404
       Volume owner UIC     [SYSTEM]  Vol Prot  S:RWCD,O:RWCD,G:RWCD,W:RWCD

       Volume Status:  ODS-2, subject to mount verification, file high-water
           marking, write-back caching enabled.

      Disk $252$MDA0:, device type RAM Disk, is online, member of shadow set DSA0:.

       Error count                 0  Shadow member operation count    128
       Allocation class          252

      Disk $252$MDA1:, device type RAM Disk, is online, member of shadow set DSA0:.

       Error count                 0  Shadow member operation count    157
       Allocation class          252

      This example shows that a write bitmap exists for a shadow set,
      and that no write bitmap is active. If a shadow set supports
      write bitmaps, "device supports bitmaps" is displayed along
      with either "bitmaps active" or "no bitmaps active". If the
      device does not support write bitmaps, no message pertaining to
      write bitmaps is displayed.

    11$ SHOW DEVICE/BITMAP DSA1
      Device         BitMap     Size         Percent of
      Name            ID       (Bytes)       Full Copy
      DSA12:         00010001   652          11%

      This example shows a SHOW DEVICE/BITMAP display. You can find
      out the ID of each write bitmap on a node with this command.
      The /BITMAP qualifier is similar to the /REBUILD qualifier
      in that neither can be combined with most other SHOW DEVICE
      qualifiers. The SHOW DEVICE/BITMAP display can be brief or
      full; brief is the default.

      If no bitmap is active, no bitmap file ID is displayed. The
      phrase "no bitmaps active" is displayed.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.