Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine the number of cores?

Status
Not open for further replies.

tcorum

Technical User
Jul 6, 2001
49
US
Is there a way in AIX 5.2 to determine the number of cores on a server? I asked IBM this question and they said we just need to look at the invoice. We'll thats not going to work because we don't have the invoices. I am looking for a command to tell me how many cores are on the server so we can get the correct number of PVUs for licenses.

Thanks,

TCorum
 
Simply counting the nuber of CPUs display in smit. All cpu displayed represend a core a simple processor depending on your hardware type.
 
lscfg -vp|grep cpu|wc -l

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
grep-ing for cpu isn't going to work...

try this:
Code:
lscfg -vp|grep -c -E 'proc.*Processor'


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top