HPE OneView
cancel
Showing results for 
Search instead for 
Did you mean: 

Server inventory - CPU information

 
Swarm
Occasional Advisor

Server inventory - CPU information

When running a report it shows the CPU, but not how many CPUs it has.

 

Is there some way to determine in the report how many CPUs there is?

3 REPLIES 3
ChrisLynchHPE
Neighborhood Moderator

Re: Server inventory - CPU information

Unfortunately, no.  Reports are static queries.  However, if you need to extract that information, you can via the REST API.  You would have a few options:

 

  1. Use a REST client (i.e. CURL or RESTClient FireFox plugin)
  2. Use the PowerShell library
  3. Use the Python library

If you wanted to use the PowerShell library, you can use the following command/script to get what you are looking for:

 

get-hpovserver | ft -Property name,processorCount,processorCoreCount,processorSpeedMhz,processorType -AutoSize

 

 


Accept or Kudo

shineknox
Occasional Visitor

Re: Server inventory - CPU information

Thanks for the get-hposerver command, that helped out.  Are we able to list the OS version installed on the servers in inventory, with get-hposerver?  Also, is there a docoument listing all the -property values we can use?

 

Highlighted
ChrisLynchHPE
Neighborhood Moderator

Re: Server inventory - CPU information

Today, the Server Hardware resource returned is a passthrough from the HPE OneView REST API.  You can pull that documention up on your OneView console (click on the ? icon, then REST API).  


Accept or Kudo