Peeter Joot
Peeter Joot

Reputation: 8260

How to tell if an AIX machine is running on a power7 cpu?

I know how to query the cpu type in C code using the sys/systemcfg.h __power_7() macro. Is there a handy command that also provides this info?

Upvotes: 2

Views: 1484

Answers (1)

Demosthenex
Demosthenex

Reputation: 4451

You can use "lsattr -El proc0":

# lsattr -El proc0
frequency   3220000000     Processor Speed       False
smt_enabled true           Processor SMT enabled False
smt_threads 4              Processor SMT threads False
state       enable         Processor state       False
type        PowerPC_POWER7 Processor type        False

Upvotes: 1

Related Questions