GET – CPU properties
Use the GET method to retrieve properties of CPU resource for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Processors/{1-N}
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Description | String | This resource is used to represent a processor for a Redfish implementation. | |||
TotalEnabledCores | Integer | The total number of enabled cores that this processor contains. | |||
Id | String | 1~{N}, N=1- number of processors. | |||
InstructionSet | String | null if Status.state is absent, otherwise, "x86-64". | |||
Manufacturer | String | The processor manufacturer. | |||
MaxSpeedMHz | Number | The maximum clock speed of the processor. | |||
Model | String | The product model of the processor. | |||
Name | String | "Processor {N}", N is the socket number of this processor. | |||
SerialNumber | String | Serial number of this processor. | |||
PartNumber | String | Part number of this processor. | |||
Version | String | It is the same as the Model property. | |||
ProcessorArchitecture | String | null if Status.state is absent, otherwise, "x86". | |||
ProcessorId | Object | Expanded | |||
EffectiveFamily | String | The effective Family for this processor. | |||
EffectiveModel | String | The effective Model for this processor. | |||
IdentificationRegisters | String | The contents of the Identification Registers (CPUID) for this processor. | |||
MicrocodeInfo | String | null | |||
Step | String | The Step value for this processor. | |||
VendorId | String | The Vendor Identification for this processor. | |||
ProtectedIdentificationNumber | String | The protected identification number for this processor. | |||
ProcessorType | String | “CPU” | |||
Socket | String | The socket or location of the processor. | |||
Status | Object | Contains the following elements | |||
Health | String | The health of this processor. Possible values are “OK”, “Warning” and “Critical”. Hide if Status.state is absent. | |||
State | String | “Enabled”: processor is present “Absent”: processor is not present | |||
TotalCores | Number | The total number of cores contained in this processor. | |||
TotalThreads | Number | The total number of execution threads supported by this processor. | |||
Location | Object | The location of the processor. | |||
PartLocation | Object | The part location within the placement. | |||
LocationOrdinalValue | Integer | The number that represents the location of the part. If LocationType is `slot` and this unit is in slot 2, the LocationOrdinalValue is 2. | |||
LocationType | String | The type of location of the part, such as slot, bay and socket. Here hard code to “Socket”. | |||
ServiceLabel | String | The label of the part location, such as a silk-screened name or a printed label. | |||
TDPWatts | Integer | The nominal Thermal Design Power (TDP) in watts. | |||
Metrics | Link | The link to the metrics associated with this processor. | |||
ProcessorMemory | Array | The memory directly attached or integrated within this Processor. | |||
MemoryType | String | The type of memory used by this processor. | |||
CapacityMiB | Integer | The memory capacity in MiB. | |||
IntegratedMemory | Boolean | An indication of whether this memory is integrated within the processor. | |||
SpeedMHz | Integer | The operating speed of the memory in MHz. | |||
Links | Object | Expand | |||
Chassis | Link | /redfish/v1/Chassis/1/ |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
“Id”:” EnvironmentMetrics”,
“Name”:” GPU1 EnvironmentMetrics”
"@odata.type": "#EnvironmentMetrics.v1_2_0.EnvironmentMetrics",
"@odata.id": "/redfish/v1/Chassis/1/EnvironmentMetrics",
"@odata.etag": "\"3d6b38a53bed29662db\"",
"Description": " This resource shall represent an environment metrics for a Redfish implementation.",
“PowerWatts”: {
“DataSourceUri”:”/redfish/v1/Chassis/1/Sensors/GPU1_Power”,
“Reading”:60
}
}