AIX CPU Info

There are number of commands to show what are the current number of processors and their information.

1. show processor multithreading capacibility, number of processor, and how many "core" they have. run smtctl below without any options with ROOT user.

$ smtctl
This system is SMT capable.

SMT is currently enabled.

SMT boot mode is not set.
SMT threads are bound to the same physical processor.

proc0 has 2 SMT threads.
Bind processor 0 is bound with proc0
Bind processor 1 is bound with proc0

proc2 has 2 SMT threads.
Bind processor 2 is bound with proc2
Bind processor 3 is bound with proc2

2. show processor model and their clockspeed

$ lsconf|grep Processor
Processor Type: PowerPC_POWER6
Processor Implementation Mode: POWER 6
Processor Version: PV_6
Number Of Processors: 2
Processor Clock Speed: 3826 MHz
  Model Implementation: Multiple Processor, PCI bus
 proc0                                        Processor
 proc2                                        Processor

3. show processor clock speed

$ pmcycles -m
CPU 0 runs at 4204 MHz
CPU 1 runs at 4204 MHz

4. show processor related to your lpar
$ lparstat -i
Node Name                                  : webserver
Partition Name                             : 06-759DA
Partition Number                           : 1
Type                                       : Dedicated-SMT
Mode                                       : Capped
Entitled Capacity                          : 2.00
Partition Group-ID                         : 32769
Shared Pool ID                             : -
Online Virtual CPUs                        : 2
Maximum Virtual CPUs                       : 2
Minimum Virtual CPUs                       : 1
Online Memory                              : 15680 MB
Maximum Memory                             : 16384 MB
Minimum Memory                             : 256 MB
Variable Capacity Weight                   : -
Minimum Capacity                           : 1.00
Maximum Capacity                           : 2.00
Capacity Increment                         : 1.00
Maximum Physical CPUs in system            : 2
Active Physical CPUs in system             : 2
Active CPUs in Pool                        : -
Shared Physical CPUs in system             : 0
Maximum Capacity of Pool                   : 0
Entitled Capacity of Pool                  : 0
Unallocated Capacity                       : -
Physical CPU Percentage                    : 100.00%
Unallocated Weight                         : -

No comments: