HPE OneView
1752770 Members
5081 Online
108789 Solutions
New Discussion

Re: 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
ChrisLynch
HPE Pro

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

 

 


I am an HPE employee

Accept or Kudo

shineknox
Established Member

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?

 

ChrisLynch
HPE Pro

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).  


I am an HPE employee

Accept or Kudo