HP-UX: How to get machine information

Posted on April 23, 2009

1


The easy way to get the CPU, memory, firmware, platform and operating system information in HP-UX is using `machinfo`.

# machinfo
CPU info:
   Number of CPUs = 4
   Clock speed = 1398 MHz
   Bus speed   = 399 MT/s
   CPUID registers
      vendor information =       "GenuineIntel"
      processor serial number =  0x0000000000000000
      processor version info =   0x0000000020000404
         architecture revision:       0
         processor family:           32   Intel(R) Itanium 2 9000 series
         processor model:             0   Intel(R) Itanium 2 9000 series
         processor revision:          4   Stepping C0
         largest CPUID reg:           4
      processor capabilities =   0x0000000000000005
                      implements long branch:  1
        implements 16-byte atomic operations:  1
   Bus features
      implemented =  0xbdf0000020000000
      selected    =  0x0000000000000000

Cache info (per core):
   L1 Instruction: size =   16 KB, associativity = 4
   L1 Data:        size =   16 KB, associativity = 4
   L2 Instruction: size = 1024 KB, associativity = 8
   L2 Data:        size =  256 KB, associativity = 8
   L3 Unified:     size = 6144 KB, associativity = 6

Memory = 16364 MB (15.980469 GB)

Firmware info:
   Firmware revision = 01.05
   FP SWA driver revision: 1.18
   IPMI is supported on this system.
   BMC version: 5.6

Platform info:
   model string =          "ia64 hp server rx2660"
   machine id number =     xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
   machine serial number = XXXXXXXXXX

OS info:
   sysname  = HP-UX
   nodename = Munix
   release  = B.11.23
   version  = ?
   machine  = ia64
   idnumber = xxxxxxxxxx
   vmunix _release_version: B11.23 Fri Aug 29 22:35:38 PDT 2003 $

While, to look for IO information in HP-UX, use `ioscan`

# ioscan
H/W Path        Class                            Description
============================================================
                root
0               ioa                              System Bus Adapter (4030)
0/0                 ba                           Local PCI-X Bus Adapter (122e)
0/0/1/0                   tty                    PCI class(255,0) (103c1303)
0/0/1/1                   tty                    PCI SimpleComm (103c1302)
0/0/1/2                   tty                    PCI Serial (103c1048)
0/0/2/0                   OO                     USB OHCI Interface
0/0/2/0.0                    OO                  USB Composite Device
0/0/2/0.0.0                     OO               Virtual Keyboard
0/0/2/0.0.1                     OO               USB Boot Protocol Mouse
0/0/2/0.2                    OO                  USB Composite Device
0/0/2/0.2.0                     OO               USB Boot Protocol Keyboard
0/0/2/0.2.1                     OO               USB Human Interface Device
0/0/2/1                   OO                     USB OHCI Interface
0/0/2/1.0                    OO                  USB Composite Device
0/0/2/1.0.0                     OO               USB Bulk Only
0/0/2/1.0.16                    ext_bus          USB SCSI Stack Adaptor
0/0/2/1.0.16.0                     target
0/0/2/1.0.16.0.0                        disk       TEAC    DV-W28EAW
0/0/2/1.0.16.7                     target
0/0/2/1.0.16.7.0                        ctl        Initiator
0/0/2/1.1                    OO                  USB Composite Device
0/0/2/1.1.0                     OO               USB Boot Protocol Mouse
0/0/2/2                   OO                     USB EHCI Interface
0/0/3/0                   graphics               PCI Display (1002515e)
0/1                 ba                           Local PCI-X Bus Adapter (122e)
0/1/1/0                   escsi_ctlr             HP  PCI/PCI-X SAS MPT Adapter
0/1/2/0                   lan                    HP PCI-X 1000Base-T Dual-port Built-in
0/1/2/1                   lan                    HP PCI-X 1000Base-T Dual-port Built-in
0/2                 ba                           Local Bus Adapter
0/2/0/0                   ba                     PCItoPCI Bridge
0/3                 ba                           Local Bus Adapter
0/3/0/0                   ba                     PCItoPCI Bridge
0/3/0/0/0/0                     ext_bus          PCIe SAS SmartArray P400 RAID Controller
0/3/0/0/0/0.0                      target
0/3/0/0/0/0.0.0                         disk       HP      LOGICAL VOLUME
0/3/0/0/0/0.0.1                         disk       HP      LOGICAL VOLUME
0/3/0/0/0/0.7                      target
0/3/0/0/0/0.7.0                         ctl        Initiator
0/4                 ba                           Local PCI-X Bus Adapter (12ee)
0/5                 ba                           Local Bus Adapter
0/5/0/0                   ba                     PCItoPCI Bridge
120             processor                        Processor
121             processor                        Processor
122             processor                        Processor
123             processor                        Processor
250             ba                               Core I/O Adapter
250/0               ipmi                         IPMI Controller
250/1               tty                          Built-in RS232C
250/2               acpi_node                    Acpi Hardware
About these ads
Tagged:
Posted in: Technology