GET – 处理器属性
使用 GET 方法检索 Redfish 服务的处理器资源的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Processors/{1-N}
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Description | 字符串 | “This resource is used to represent a processor for a Redfish implementation.” | |||
TotalEnabledCores | 整数 | 此处理器已启用的总核数。 | |||
Id | 字符串 | 1~{N},N = 1 - 处理器数量。 | |||
InstructionSet | 字符串 | 如果 Status.state 不存在,则为 null,否则为“x86-64”。 | |||
Manufacturer | 字符串 | 处理器制造商。 | |||
MaxSpeedMHz | 数字 | 处理器的最大时钟速度。 | |||
Metrics | 链接 | 与此处理器关联的指标的链接。 | |||
Model | 字符串 | 处理器的产品型号。 | |||
Name | 字符串 | “Processor {N}”,N 是此处理器的插槽编号。 | |||
SerialNumber | 字符串 | 此处理器的序列号。 | |||
PartNumber | 字符串 | 此处理器的部件号。 | |||
Version | 字符串 | 与 Model 属性相同。 | |||
ProcessorArchitecture | 字符串 | 如果 Status.state 不存在,则为 null,否则为“x86”。 | |||
ProcessorId | 对象 | 已展开。 | |||
EffectiveFamily | 字符串 | 此处理器的有效系列。 | |||
EffectiveModel | 字符串 | 此处理器的有效型号。 | |||
IdentificationRegisters | 字符串 | 此处理器的标识寄存器(CPUID)的内容。 | |||
Step | 字符串 | 此处理器的步长值。 | |||
ProtectedIdentificationNumber | 字符串 | 此处理器的受保护标识号。 | |||
ProcessorType | 字符串 | “CPU” | |||
Socket | 字符串 | 处理器的插槽或位置。 | |||
Status | 对象 | 包含以下元素 | |||
State | 字符串 | “Enabled”:处理器存在 “Absent”:处理器不存在 | |||
Health | 字符串 | 此处理器的运行状况。可能的值为“OK”、“Warning”和“Critical”。如果 Status.state 不存在,则会隐藏。 | |||
TotalCores | 数字 | 此处理器中包含的总核数。 | |||
TotalThreads | 数字 | 此处理器支持的执行线程总数。 | |||
Location | 对象 | 处理器的位置。 | |||
PartLocation | 对象 | 部件位置。 | |||
LocationOrdinalValue | 整数 | 表示部件位置的数字。 如果 LocationType 为“slot”,而此单元位于插槽 2 中,则 LocationOrdinalValue 为 2。 | |||
LocationType | 字符串 | 部件位置类型,如 slot、bay 和 socket。此处硬编码为“Socket”。 | |||
ServiceLabel | 字符串 | 部件位置标签,如丝印名称或印刷标签。 | |||
TDPWatts | 整数 | 以瓦为单位的额定热设计功率(TDP)。 | |||
Links | 对象 | 已展开。 | |||
Chassis | 链接 | /redfish/v1/Chassis/1/ |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@odata.context": "/redfish/v1/$metadata#Processor.Processor",
"@odata.etag": "\"FE331BF2\"",
"@odata.id": "/redfish/v1/Systems/1/Processors/1",
"@odata.type": "#Processor.v1_14_0.Processor",
"Description": "This resource is used to represent a processor for a Redfish implementation.",
"Id": "1",
"InstructionSet": "x86-64",
"Links": {
"Chassis": {
"@odata.id": "/redfish/v1/Chassis/1"
}
},
"Location": {
"PartLocation": {
"LocationOrdinalValue": 0,
"LocationType": "Socket",
"ServiceLabel": "CPU 1"
}
},
"Manufacturer": "Intel(R) Corporation",
"MaxSpeedMHz": 3800,
"Metrics": {
"@odata.id": "/redfish/v1/Systems/1/Processors/1/ProcessorMetrics"
},
"Model": "Intel(R) Xeon(R) 6760P",
"Name": "Processor 1",
"Oem": {
...
}
},
"PartNumber": "UNKNOWN",
"ProcessorArchitecture": "x86",
"ProcessorId": {
"EffectiveFamily": "0x0006",
"EffectiveModel": "0x00AD",
"IdentificationRegisters": "BFEBFBFF000A06D1",
"ProtectedIdentificationNumber": "647BE0BFDD73947C",
"Step": "0x0001"
},
"ProcessorType": "CPU",
"SerialNumber": "647BE0BFDD73947C",
"Socket": "CPU 1",
"Status": {
"Health": "OK",
"State": "Enabled"
},
"TDPWatts": 330,
"TotalCores": 64,
"TotalEnabledCores": 64,
"TotalThreads": 128,
"Version": "Intel(R) Xeon(R) 6760P"
}