Reporting on physical processors

(imported topic written by frankc91)

Hello,

Does anyone know how to create a property to report the number of physical processors on a server? Unfortunately, “Number of Processors” takes into account dual/quad core and also HT, so # of physical procs is not accurate (usually reports # of “CPU’s”). I also tried “Physical Processor Count”, which works in Windows, but not Linux/Unix.

I was thinking worst case, I could create a new property that returns a value back based on value of another property. If anyone knows of a way to do this, that would be great as well.

i.e., for a new property value called “Actual Physical Processors”: if “server model property value” contains “HP Proliant DL380” then “2” else if “server model property value” contains “HP Proliant DL585” then “4”, etc. I’ve been searching to find some examples to do this but can’t find any yet.

Thanks!

(imported comment written by SystemAdmin)

Here is the relevance I used for Widows systems, copy this into your QnA tool.

Physical Processor Count

(imported comment written by frankc91)

Yes, I was able to use this on Windows as well, but I get an “” for all of our RHE Linux machines. I found out this property only works on Windows, so curious if there’s a way to get physical processor count on Linux/Unix devices.

If there’s also a way to use “if then” statements using a server model property in relevance, that would be great as well.