Pages

Monday, February 13, 2012

Obtaining CPU information in HP-UX

To obtain CPU information use the HP-UX command machinfo: 

# machinfo
CPU info:
   Number of CPUs = 4
   Clock speed = 1595 MHz
   Bus speed   = 532 MT/s
   CPUID registers
      vendor information =       "GenuineIntel"
      processor serial number =  0x0000000000000000
      processor version info =   0x0000000020000704
         architecture revision:       0
         processor family:           32   Intel(R) Itanium 2 9000 series
         processor model:             0   Intel(R) Itanium 2 9000 series
         processor revision:          7   Stepping C2
         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 = 9216 KB, associativity = 9

Memory = 8162 MB (7.970703 GB)

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

Platform info:
   model string =          "ia64 hp server rx6600"
   machine id number =     xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
   machine serial number = xxxxxxxxxx

OS info:
   sysname  = HP-UX
   nodename = db03
   release  = B.11.23
   version  = U (unlimited-user license)
   machine  = ia64
   idnumber = xxxxxxxxxx
   vmunix _release_version:
@(#) $Revision: vmunix:    B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $

The ouptut contains much information about the CPU type (Intel(R) Itanium 2 9000 series)), number of CPU's (4), CPU speed (1,5GHz) etc.
The machinfo command also gives much information like CPU Cache size, Memory Size, Firmware, Server Type, Operating System release etc. machinfo for HP-UX is worth to keep in mind.