GET – Processor metric properties
Use the GET method to retrieve properties in Processor Metric for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/ProcessorSummary/ProcessorMetrics
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | “ProcessorMetrics”. | |||
Name | String | "Processor Summary Metrics". | |||
Description | String | This resource is used to represent processor summary metrics for a Redfish implementation. | |||
BandwidthPercent | String | The CPU bandwidth as a percentage. | |||
ConsumedPowerWatt | String | The power, in watts, that the processor has consumed. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"BandwidthPercent": 0,
"Description": "This resource is used to represent processor summary metrics for a Redfish implementation.",
"@odata.type": "#ProcessorMetrics.v1_0_1.ProcessorMetrics",
"@odata.id": "/redfish/v1/Systems/1/ProcessorSummary/ProcessorMetrics",
"Id": "ProcessorMetrics",
"@odata.etag": "\"6de4c04fbae63c91eec00838a25f9c9b\"",
"Name": "Processor Summary Metrics",
"ConsumedPowerWatt": 20
}
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Processors/{1-N}/ProcessorMetrics
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | “ProcessorMetrics” | |||
Name | String | “Processor Metrics” | |||
Description | String | This resource is used to represent a processor metrics for a Redfish implementation. | |||
ConsumedPowerWatt | Number | The consumed Power watt of this processor. | |||
TemperatureCelsius | Number | The temperature of the processor. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Id": "ProcessorMetrics",
"TemperatureCelsius": 34,
"Name": "Processor Metrics",
"ConsumedPowerWatt": 24,
"Description": "This resource is used to represent a processor metrics for a Redfish implementation.",
"@odata.type": "#ProcessorMetrics.v1_1_0.ProcessorMetrics",
"@odata.id": "/redfish/v1/Systems/1/Processors/1/ProcessorMetrics",
"@odata.etag": "\"2c50f0353a3827e65b4\""
}
Give documentation feedback