I'm looking for a way - from the command line - to tell whether a given AIX system I have is a Power5, Power4 or Power6 machine - it seems like there would be an option to 'uname' but I couldn't find one.
Thanks!
I'm looking for a way - from the command line - to tell whether a given AIX system I have is a Power5, Power4 or Power6 machine - it seems like there would be an option to 'uname' but I couldn't find one.
Thanks!
uname is a bit limited.
prtconf will tell you but you'll need to parse the output if you want to feed it to another command.
How about "lsattr -El proc0" or "lscfg -vl cpucard0 | grep FRU" ?
The FRU number will tell you the processor type but only after a bit of translating.
I'm not sure about "bootinfo -p", maybe this tells you the processor type along with the architecture, maybe not. Beware, though (ah, well, not really): in systems prior to AIX 4.2.0 it was "bootinfo -T".
I hope this helps.
bakunin
Thanks! The lsattr -El proc0 - with a little sed work - does what I need.