AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Number of processors

    Posted Fri December 14, 2007 07:41 AM

    Originally posted by: SystemAdmin


    Hi,

    How do we know the number of processors in an AIX system?

    TIA
    #AIX-Forum


  • 2.  Re: Number of processors

    Posted Fri December 14, 2007 08:59 AM

    Originally posted by: nh4aix


    Hello, this is not a cut and dry answer... Why do you need to know?

    The "lparstat -i" is probably your best bet... see the man page:
    http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.cmds/doc/aixcmds3/lparstat.htm?resultof=%22%6c%70%61%72%73%74%61%74%22%20

    Hope that helps.

    Joe
    #AIX-Forum


  • 3.  Re: Number of processors

    Posted Fri December 14, 2007 09:08 AM

    Originally posted by: SystemAdmin


    lsdev -Cc processor will show the number of physical processors (or virtual processors in a shared processor LPAR.
    1. lsdev -Cc processor
    proc0 Available 00-00 Processor
    proc2 Available 00-02 Processor
    SMT thread processors are seen with bindprocessor
    1. bindprocessor -q
    The available processors are: 0 1 2 3

    lparstat -i will show the virtual and logical processors.
    1. lparstat -i | grep CPU
    Online Virtual CPUs : 2
    Maximum Virtual CPUs : 15
    Minimum Virtual CPUs : 1
    Maximum Physical CPUs in system : 2
    Active Physical CPUs in system : 2
    Active CPUs in Pool : 2
    Physical CPU Percentage : 25.00%
    topas -L shows logical processors,
    mpstat shows virtual

    1. lsattr -El proc0
    frequency 1498500000 Processor Speed False
    smt_enabled true Processor SMT enabled False
    smt_threads 2 Processor SMT threads False
    state enable Processor state False
    type PowerPC_POWER5 Processor type False

    1. lscfg -v | grep -i proc
    Model Implementation: Multiple Processor, PCI bus
    proc0 Processor
    proc2 Processor

    1. prtconf | pg
    System Model: IBM,9111-520
    Machine Serial Number: 10EE6FE
    Processor Type: PowerPC_POWER5
    Number Of Processors: 2
    Processor Clock Speed: 1499 MHz
    CPU Type: 64-bit
    Kernel Type: 64-bit

    And many more.
    #AIX-Forum