GET – 处理器指标属性
使用 GET 方法检索 Redfish 服务的处理器指标中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Processors/{1-N}/ProcessorMetrics
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Id | 字符串 | ProcessorMetrics | |||
Name | 字符串 | Processor Metrics | |||
Description | 字符串 | “This resource is used to represent a processor metrics for a Redfish implementation.” | |||
ConsumedPowerWatt | 数字 | 此处理器的功耗瓦数。 | |||
TemperatureCelsius | 数字 | 处理器的温度。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@odata.etag": "\"E2885BB0\"",
"@odata.id": "/redfish/v1/Systems/1/Processors/1/ProcessorMetrics",
"@odata.type": "#ProcessorMetrics.v1_6_0.ProcessorMetrics",
"ConsumedPowerWatt": 70,
"Description": "This resource is used to represent a processor metrics for a Redfish implementation.",
"Id": "ProcessorMetrics",
"Name": "Processor Metrics",
"TemperatureCelsius": 37
}
提供反馈