Quantcast
Channel: Ivanti User Community : All Content - Inventory
Viewing all articles
Browse latest Browse all 730

CPU Count Reported by Inventory is not Correct

$
0
0

CPU Count Reported by Inventory is not Correct

 

This issue is generally due to the user not looking at the correct location in inventory to find the total number of processors.  Keep in mind that the OS sees the processor differently than we might expect.

Types of Processors:

- Phyical Processors (Processor Sockets on Motherboard)

- Virtual Processors (Hyper-Threaded)

- Core Processors (Cores per Package)

- Total Processors (NUMBER_OF_PROCESSORS) which is (Core Processors + Virtual Processors)

 

The OS does not differenciate between Virtual Processors and Core Processors, it just sees them as a processor

 

Most machines today, other than very high end servers, only have a single Physical Processor, but contains 2 or more Core Processors, which in turn can also be hyper-threaded to double the Total Processors showing in the system.

When you look at the attached query in your console, you will see three columns that represent Physical Processor (Processor Count), Core Processors (Cores per Package), and Total Processors (Number of Processors).

 

LANDesk Inventory pulls processor information in two ways and puts them in different locations of the inventory.  The Computer.Environment.Variables.NUMBER_OF_PROCESSORS (Total Processors) is pulled from the registry during software scans, the other Computer.Processor entries (which are the Cores per Package and Processor Count) are pulled with hardware scans and those values are returned by WMI.

 

If you are wanting to use the Computer.Environment.Variables.NUMBER_OF_PROCESSORS (Total Processors) in a column set you will need to use the work around below to get the data into the custom data fields so that you can select them in the column set.

***************Work Around****************

This is a work around to get you what you want and be able to us it in a column set.

You can modify the ldappl3.template file to create a custom data entry for the following registry key.  Once this data is in custom data, you can use it in the column set to display the total usable processors.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment > NUMBER_OF_PROCESSORS

This reg key shows the number of processor cores including hyper-threaded cores for a total count of processors.

***********************************************

 

In the attached query, the column Number of Processors is a correct count of Total Processors

 

Processor Count Query Attached:


Viewing all articles
Browse latest Browse all 730

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>