Wednesday, 12 May 2021

UNIX System Information - HP Tru64

Introduction

HP Tru64 UNIX, also known as OSF/1, Digital UNIX or Compaq Tru64. See Wikipedia for more details.

OS Version

On HP Tru64 UNIX the uname command provides all the information required to figure out the operating system version but only if you can interpret the version numbers:

$ uname -a
OSF1 laurus.woods V5.1 2650 alpha

Note: the Tru64 and TruCluster products use different version numbers for equivalent releases.

To get the version string displayed on start-up, which includes the official version number, use sizer -v instead:

$ sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sun Mar 20 06:36:49 GMT 2005

Installed Packages

The currently installed software packages can be listed with setld:

$ /usr/sbin/setld -i
Subset               Status                 Description
------               ------                 -----------
OSFACCT540           installed              System Accounting Utilities (System Administration)
OSFADVFS540          installed              AdvFS Commands (System Administration)
OSFADVFSBIN540       installed              AdvFS Kernel Modules (Kernel Build Environment)
...
OSFXPRT540           installed              Print X Server (Windows Applications)
OSFXSYSMAN540        installed              Graphical Base System Management Utilities(System Administration)
OSFXVFB540           installed              Virtual X Frame Buffer (Windows Applications)

System Type/Model

The system type code name can be retrieved using sizer:

$ sizer -c
cpu            "EB164"

This a not a description of the processor, but instead describes the mainboard type. In this case the machine is a AlphaPC 164LX which is a sub-type of the EB164 class of machines.

CPU

The processor type(s) and number can be obtained using psrinfo:

$ psrinfo -v
Status of processor 0 as of: 10/24/05 15:51:11
  Processor has been on-line since 10/24/2005 15:47:29
  The alpha EV5.6 (21164A) processor operates at 532 MHz,
  has a cache size of 2097152 bytes,
  and has an alpha internal floating point processor.

Hardware Summary

The get details of the installed hardware use hwmgr:

# /sbin/hwmgr view devices
 HWID: Device Name          Mfg      Model            Location
 ------------------------------------------------------------------------------
    3: /dev/dmapi/dmapi
    4: /dev/scp_scsi
    5: /dev/kevm
   44: /dev/disk/floppy0c            3.5in floppy     fdi0-unit-0
   51: /dev/disk/dsk0c      SEAGATE  ST318437LW       bus-0-targ-0-lun-0
   52: /dev/disk/cdrom0c    LG       CD-ROM CRD-8400B bus-2-targ-0-lun-0
   53: /dev/random
   54: /dev/urandom
# /sbin/hwmgr view hierarchy
HWID:   hardware hierarchy
-------------------------------------------------------------------------------
   1:   platform Digital AlphaPC 164LX 533 MHz
   2:     cpu CPU0
   6:     bus pci0
   7:       connection pci0slot5
  20:         bus pci1
  21:           connection pci1slot1
  25:             graphics_controller comet0
  23:           connection pci1slot2
  26:             graphics_controller comet1
   9:       connection pci0slot6
  27:         scsi_adapter aha_chim0
  28:           scsi_bus scsi0
  51:             disk bus-0-targ-0-lun-0 dsk0
  29:         scsi_adapter aha_chim2
  30:           scsi_bus scsi1
  12:       connection pci0slot7
  31:         network tu0
  14:       connection pci0slot8
  32:         bus isa0
  33:           connection isa0slot0
  34:             keyboard keyboard0
  35:             pointer mouse0
  36:           connection isa0slot2
  37:             serial_port tty00
  38:           connection isa0slot3
  39:             serial_port tty01
  40:           connection isa0slot4
  41:             parallel_port lp0
  42:           connection isa0slot5
  43:             fdi_controller fdi0
  44:               disk fdi0-unit-0 floppy0
  45:           connection isa0slot6
  46:             network le0
  16:       connection pci0slot9
  47:         network tu1
  18:       connection pci0slot11
  48:         ide_adapter ata0
  49:           scsi_bus scsi2
  52:             disk bus-2-targ-0-lun-0 cdrom0
  50:           scsi_bus scsi3

Memory

The OSF/1 version of vmstat has an additional option (-P) to get details of physical memory:

$ vmstat -P
Total Physical Memory =   512.00 M
                      =    65536 pages
Physical Memory Clusters:
start_pfn     end_pfn        type  size_pages / size_bytes
         0         256         pal         256 /    2.00M
       256       65526          os       65270 /  509.92M
     65526       65536         pal          10 /   80.00k
Physical Memory Use:
 start_pfn     end_pfn        type  size_pages / size_bytes
       256         289    scavenge          33 /  264.00k
       289        1085        text         796 /    6.22M
      1085        1229        data         144 /    1.12M
      1229        1465         bss         236 /    1.84M
      1465        1664      kdebug         199 /    1.55M
      1664        1671     cfgmgmt           7 /   56.00k
      1671        1672       locks           1 /    8.00k
      1672        1686        pmap          14 /  112.00k
      1686        2000   unixtable         314 /    2.45M
      2000        2012        logs          12 /   96.00k
      2012        3499    vmtables        1487 /   11.62M
      3499       65526     managed       62027 /  484.59M
                             ============================
         Total Physical Memory Use:      65270 /  509.92M
Managed Pages Break Down:
       free pages = 45081
     active pages = 5177
   inactive pages = 0
      wired pages = 4805
        ubc pages = 6997
        ==================
            Total = 62060
WIRED Pages Break Down:
   vm wired pages = 888
  ubc wired pages = 0
  meta data pages = 1915
     malloc pages = 1303
     contig pages = 164
    user ptepages = 460
  kernel ptepages = 67
    free ptepages = 8
        ==================
            Total = 4805


No comments: