Introduction to CSTM

CSTM is the command mode version of STM, the utility that replaces SYSDIAG in MPE/iX Release 6.5.
I have included here a dialog illustrating how to get a memory map of a system.

This is the procedure used on MPE/iX 6.0 and earlier releases:

:sysdiag
DUI> sysmap
SYSMAP> memmap

This is the new procedure for MPE/iX 6.5 and later releases:

>:cstm
Running Command File (/usr/sbin/stm/ui/config/.stmrc).
This operation may take approximately one minute.
-- Information --
Support Tools Manager
Version A.11.00
Product Number B4708AA
(C) Copyright Hewlett Packard Co. 1995-2000All Rights Reserved
Use of this program is subject to the licensing restrictions described
in "Help-->On Version". HP shall not be liable for any damages resulting
from misuse or unauthorized use of this program.
cstm>map

Dev                                                 Last        Last Op
 Num  Path                 Product                   Active Tool Status
 ===  ==================== ========================= =========== =============
 1  52                   NIO SCSI Interface (14)
 2  52.0.0               SCSI Tape (HPC1537A)
 3  52.1.0               Unknown ()
 4  52.2.0               SCSI Disk (HPC2490AM)
 5  52.5.0               SCSI Tape (QuantumDLT4000
 6  52.8.0               Unknown ()
 7  52.9.0               Unknown ()
 8  56                   NIO LAN/Console Interface
 9  56.2                 Unknown ()
 10  62                   CPU (282)
 11  63                   MEMORY (14)
cstm>select device 11
cstm>info
cstm>infolog
-- Converting a (4828) byte raw log file to text. --
Preparing the Information Tool Log for MEMORY on path 63 File ...

.... hp917  :  192.168.15.37 ....

-- Information Tool Log for MEMORY on path 63 --

Log creation time: Thu May 31 11:23:41 2001

Hardware path: 63

Basic Memory Description

 Module Type: MEMORY
 Total Physical Memory     : 256 MB
 Total Configured Memory   : 256 MB
 Page Size: 4096 Bytes

 Memory interleaving is not supported on this machine.

Memory Board Inventory

 Total Phys  Configured  Disabled
 Board         Size (MB)   Total (MB)  Total (MB)
 ------------  ----------  ----------  ----------
 0A/B          64          64           0
 1A/B          32          32           0
 2A/B          32          32           0
 3A/B          64          64           0
 4A/B          64          64           0
 ----------  ----------  ----------
 System Total:         256         256           0

Memory Controller Inventory

 Hard        Hardware  Hardware  Software  Software
 Physical    Model     Revision  Model     Revision  Software  IODC
 Address     Number    Number    Number    Number    Option    Revision
 ----------  --------  --------  --------  --------  --------  --------
 0xfffbf000      0x14         0       0x9         0         0         0

Bank Inventory

Log.  Phys                Size                                    leave
 Bank  Bank  Board         (MB)  Disabled?  SPA Range (Hex)        Group
 ----  ----  ------------  ----  ---------  ---------------------  -----
 0          0A/B    64  enabled    0x08000000 - 0bffffff    N/A
 0          1A/B    16  enabled    0x0f000000 - 0fffffff    N/A
 1          1A/B    16  enabled    0x0c000000 - 0cffffff    N/A
 0          2A/B    16  enabled    0x0e000000 - 0effffff    N/A
 1          2A/B    16  enabled    0x0d000000 - 0dffffff    N/A
 0          3A/B    64  enabled    0x00000000 - 03ffffff    N/A
 0          4A/B    64  enabled    0x04000000 - 07ffffff    N/A

 Memory interleaving is not supported on this machine.

SPA - Page Map

 SPA Range (Hex)        Corresponding Pages
 ---------------------  --------------------------
 0x00000000 - 03ffffff            0 -        16383
 0x04000000 - 07ffffff        16384 -        32767
 0x08000000 - 0bffffff        32768 -        49151
 0x0c000000 - 0cffffff        49152 -        53247
 0x0d000000 - 0dffffff        53248 -        57343
 0x0e000000 - 0effffff        57344 -        61439
 0x0f000000 - 0fffffff        61440 -        65535

Memory Error Log Summary

The memory error log is empty.

Page Deallocation Table (PDT)

 This machine is not designed to have a Page Deallocation Table.

Memory Controller Rev Port

 Memory controller rev port not available.
-- Information Tool Log for MEMORY on path 63 --
View   - To View the file.
SaveAs - To Save the file.
Print  - To Print the file.
Enter Done, Help, Print, SaveAs, or View: [Done]
cstm>

† The device number corresponds to the number in the first column of the I/O map. These numbers are sequentially assigned by CSTM and have no correlation to LDEV numbers. For systems with memory extender cards plugged into multiple slots you can issue as many SELECT DEVICE commands as needed.

†† The INFO command directs CSTM to create an information log file for the selected device(s). The following command INFOLOG instructs CSTM to format the previously generated log file. It is sometimes necessary to wait a minute or so for the INFO command to complete before executing the INFOLOG command.

There is also a wealth of information available regarding disc and tape drives under CSTM using the INFO command that requires running a utility under SYSDIAG. You can see the device status, read and write error counts, and firmware revision.

cstm>select device 2
cstm>select device 4
cstm>info

cstm>infolog

-- Converting multiple raw log files to text. --
Preparing the Information Tool Log for each selected device...

.... hp917  :  192.168.15.37 ....

-- Information Tool Log for SCSI Tape on path 52.0.0 --

Log creation time: Thu May 31 12:54:11 2001

Hardware path: 52.0.0

Device Qualifier:    HPC1537A

Product ID:          C1537A             Hardware Path:          52.0.0
Device Type:         SCSI Tape          Logical Unit Number:    0
Vendor:              HP                 Product Rev Level:      HP02
Firmware Revision:   3.59               Tape Load Count:        41
Correctable Errors:  0                  Uncorrectable Errors:   0
Mfg Date Code:       58                 Servo Revision:         14.2
Compression Status:  Enabled            Compression Ratio:
[instant]     1 : 1
[average]     N/A
Capacity [M Byte]:   0
Drive Status:        Good

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for SCSI Disk on path 52.2.0 --

Log creation time: Thu May 31 12:54:13 2001

Hardware path: 52.2.0

Product Id:       C2490AM           Vendor:           HP
Device Type:      SCSI Disk         Firmware Rev:     3256
Device Qualifier: HPC2490AM         Logical Unit:     0
Serial Number:    3506A07568
Capacity (M Byte):          2033.82
Block Size:              512
Max Block Address:       4165271
Data Error Log Summary
Retry Errors:            0
Correctable Errors:      0
Uncorrectable Errors:    0

Hardware Error Log Entries: