AIX

AIX

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


#Power
 View Only

How to get number of SMT threads on AIX using API

  • 1.  How to get number of SMT threads on AIX using API

    Posted Tue September 16, 2008 03:03 AM

    Originally posted by: SystemAdmin


    Hi all,

    Is there any API to check number of SMT threads per core on AIX OS?
    We can check number of SMT threads using:
    % 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

    But I want to know is there any API interface available to get value of smt_enabled and smt_threads?

    Thanks in advance,
    BKP
    #AIX-Forum