Identifying Underlying Physical Core Count - AIX


 
Thread Tools Search this Thread
Operating Systems AIX Identifying Underlying Physical Core Count - AIX
# 1  
Old 07-07-2014
Identifying Underlying Physical Core Count - AIX

Hi guys,

I was wondering if you could help me out with a query I had. Is there a query to identify the total processor core count of the physical AIX box from which I am running 4 LPARs. I have run the lscfg, lparstat-i and lsdev -Cc processor commands however they just show me the cores assigned to that Lpar and not the total value of the physical box.

Is there a query that can collect this information? I know I can send the serial number of the box back to IBM but I was wondering if there is something I can do from here.

Thanks for your help, it's greatly appreciated.

Nate
# 2  
Old 07-07-2014
You can get that information from the HMC. Here is a very nice compilation of very helpful commands which includes CPU information:

AIX for System Administrators

The page is generally very very good.
From there this would be what you are looking for, if I am correct:
Code:
lshwres -r proc -m <managedsysname> --level sys

# 3  
Old 07-07-2014
Hi Zaxxon, thanks for your response. Greatly appreciated!

So I guess the command

Code:
monhmc -r proc -n 0

from the HMC console should be the right one?

Thanks,
Nate

Last edited by zaxxon; 07-07-2014 at 01:20 PM.. Reason: added code tags
# 4  
Old 07-07-2014
No, I have written which command I would use. Also please use code tags when you post code, data or logs, thanks.
This User Gave Thanks to zaxxon For This Post:
# 5  
Old 07-08-2014
Thanks for that zaxxon, will use the code tag next time.

---------- Post updated at 05:57 AM ---------- Previous update was at 05:41 AM ----------

Just tried to run this command line and it has not worked as I am running Power5 and not Power7, any other ideas would be much appreciated!
# 6  
Old 07-08-2014
The command provided by zaxxon, will work, can you paste the output?

Also there is another way to know the INSTALLED CPUS (know this will give you total CPU installed in the system, but NOT the configurable), this command you can run from with in any AIX LPAR.
Code:
lscfg -vp | grep WAY
      6 WAY  PROC CUOD:
      6 WAY  PROC CUOD:
      6 WAY  PROC CUOD:
      6 WAY  PROC CUOD:
Looking at the output I can say I have 24 core (CPUS), they are 6 CPUs per CHIP,  so 6x4=24. 
Note: As I mentioned above this will give you only Installed CPU and NOT configurable.

To know the configurable CPUs, you can run lshwres command provided by zaxxon.

This User Gave Thanks to ibmtech For This Post:
# 7  
Old 07-08-2014
Thanks for the response IBMtech. When I try to run the query it states that lshwres was not found.

I have already collected the lscfg outputs as you described however as discussed I am trying to find the configurable CPUs and not the installed.

Really appreciate your help, thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX physical DVD/CD drive

Hello, I have some doubts about the dvd/cd physical on power machine and AIX. I see on my AIX lpar and see there is 1 DVD drive and its physical location bash-4.4# lsdev | grep cd0 cd0 Available 03-00-00 SATA DVD-RAM Drive bash-4.4# lscfg -vpl cd0 cd0 ... (12 Replies)
Discussion started by: Phat
12 Replies

2. Solaris

How to count number of physical and virtual processors on Solaris machine.?

hi, I am using command psrinfo -p to check the number of physical processors present on any soalris machine.I want to check the number of virtual processors assigned for particular solaris machine. which command/set of command need to be used which can grep or show the total virtual processors... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies

3. AIX

Identifying a user on a AIX shared workload

Hi, We access our workloads using usrun. Login is automatic as we are either in the profile for that workload or not. So each user logs into the same account - e.g. wloadexe Each of the users logs in from a machine where they have their own account. e.g. johndoe So when they log... (3 Replies)
Discussion started by: jfxdavies
3 Replies

4. HP-UX

Physical processor count required

Hi, We have HP RX 3600 server with HP Unix 11.23 loaded.From OS we need to get the information number of physical processors in this server.Please let me know the command to get this information. Regards, Jinu (6 Replies)
Discussion started by: jinu07
6 Replies

5. Solaris

How to check number of "CPU physical and core"?

Hi All, How to check number of "CPU physical and core" ? my machine is T5240, T5440 I try to user prtdiag it show 128 CPUs ?? what real number for it? (5 Replies)
Discussion started by: arm_naja
5 Replies

6. UNIX for Dummies Questions & Answers

identifying core dump files.

I have come into a business environtment problem and had been 10+ years since the last time I did any unix admin work. A long time ago some mainframe person created an app that talked to a mainframe on UNIX and wrote a c program with "core" in the file name to indicate that the file was the... (2 Replies)
Discussion started by: pcooke2002
2 Replies

7. AIX

AIX 5.3 Physical Memory usage

Hi, I have AIX 5.3TL8 two node cluster using HACMP and have 10g database using RAW devices. I am seeing gradual increase in comp% memory everyday and it reaches 100% and evicts the node, we had 4 evictions in 40days. I am pasting vmstat and vmo output, anyone seen this issue? ... (5 Replies)
Discussion started by: navin7386
5 Replies

8. Filesystems, Disks and Memory

Does vmstat -d give a count of actual physical writes/reads done to/from hard disk?

Hi, I am trying to find the reliability of 'vmstat -d' for showing the actual physical writes on sectors on hard disk. Can anyone please tell me if the numbers in the "sectors" field under "read" or "write" headers show a count of the actual write commands sent to disk from the low level... (2 Replies)
Discussion started by: jake24
2 Replies

9. UNIX for Advanced & Expert Users

Identifying generic scsi disk on AIX 5.3

I was wondering if anyone knew of any tools that would identify generic scsi disks on servers running AIX 5.3? Going through diag into the hot plugs does not work. I know it used to for 4.3 on some servers I managed with generic scsi but for some reason I either dont the option to choose a disk... (2 Replies)
Discussion started by: plcj58
2 Replies

10. UNIX for Dummies Questions & Answers

Getting core id, physical id of running process

Hi All, I need a help. I need to know: 1. the individual core id, physical id of a running process on multicore inside a program. The system file /proc/cpuinfo shows all the ids of all the processes. But I need to know runtime, what exact core id and physical id , the running process has.... (0 Replies)
Discussion started by: debrajde
0 Replies
Login or Register to Ask a Question