Querying Processor Resource Information

Function

This interface is used to query processor resource information.

Syntax

Operation type: GET

URL: https://device_ip/redfish/v1/Systems/Processors/AiProcessor

Request header:

X-Auth-Token: auth_value

Request message body: None

Usage Guidelines

None

Example

Request:

GET https://10.10.10.10/redfish/v1/Systems/Processors/AiProcessor

Request header:

X-Auth-Token: auth_value

Request message body: None

Response:

{
    "@odata.context": "/redfish/v1/$metadata#Systems/Processors/Members/$entity",
    "@odata.id": "/redfish/v1/Systems/Processors/AiProcessor",
    "@odata.type": "#Processor.v1_15_0.Processor",
    "Name": "AiProcessor",
    "Id": "AiProcessor",
    "Manufacturer": "Huawei Technologies Co., Ltd",
    "Model": "Atlas 200I A2",
    "Status": {
        "Health": "OK",
        "State": true
    },
    "Oem": {
        "Count": 1,
        "Capability": {
            "Calc": "20TOPS",
            "Ddr": 8
        },
        "OccupancyRate": {
            "AiCore": 0,
            "AiCpu": 0,
            "CtrlCpu": 0,
            "DdrUsage": 7,
            "DdrBandWidth": 0
        }
    }
}

Response code: 200

Output Description

Table 1 Operation output description

Field

Type

Description

@odata.context

Character string

OData description of the processor resource model.

@odata.id

Character string

Path to access the processor resource.

@odata.type

Character string

Type of the processor resource.

Name

Character string

Name of the processor resource.

Id

Character string

ID of the processor resource.

Manufacturer

Character string

Processor vendor

Model

Character string

Processor model.

Status

Object

Processor status.

  • Health: indicates the health status of the resource.
  • State: indicates whether the resource is enabled.

Oem

Object

Custom attribute.

Count

Number

Number of processors.

Capability

Object

Processor capability.

Capability.Calc

Character string

Processor computing power, for example, 16 TOPS.

Capabilitu.Ddr

Number

Processor memory, for example, 4 GB.

OccupancyRate

Object

Processor resource usage.

OccupancyRate.AiCore

Number

Core usage.

OccupancyRate.AiCpu

Number

CPU usage

OccupancyRate.CtrlCpu

Number

Ctrl CPU usage.

OccupancyRate.DdrUsage

Number

DDR memory usage.

OccupancyRate.DdrBandWidth

Number

Memory bandwidth usage.