The UNIX Forums  

Go Back   The UNIX Forums > OS Specific Forums > AIX
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
H50 power issue backslash AIX 1 02-26-2008 03:55 PM
mdelete power gunsbong Shell Programming and Scripting 2 02-17-2008 06:20 PM
The Power of the Apama Name iBot Complex Event Processing RSS News 0 01-15-2008 08:40 AM
Failed to power up fredginting SUN Solaris 2 01-07-2008 07:05 PM
No Power Struggles: Coordinated Multilevel Power Management for the Data Center iBot UNIX and Linux RSS News 0 12-24-2007 01:20 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-25-2008
Registered User
 

Join Date: Apr 2008
Posts: 8
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
How to tell Power 4/5/6

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!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-25-2008
Registered User
 

Join Date: Sep 2006
Posts: 204
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
  #3 (permalink)  
Old 04-25-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 913
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
Reply With Quote
  #4 (permalink)  
Old 05-02-2008
Registered User
 

Join Date: Apr 2008
Posts: 8
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Thanks! The lsattr -El proc0 - with a little sed work - does what I need.
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
UNIX Forum Content Copyright ©1993-2008 SilkRoad Asia All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102