Skip to main content

GET – GPU EnvironmentMetrics properties

Use the GET method to retrieve properties of GPU EnvironmentMetrics resource for Redfish service.

Request URL

Note
This resource is only supported by NVIDIA GPU in AMD-based systems.
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Processors/GPU{1-N}/EnvironmentMetrics

Request body

None

Response body

FieldTypeDescription

Description

StringThis resource shall represent an environment metrics for a Redfish implementation.

Id

String“EnvironmentMetrics”

Name

String“GPU{N} EnvironmentMetrics”

PowerWatts

ObjectExpanded
 

DataSourceUri

StringRedfish sensor resource path of “GPU{N}_Power” sensor
 

Reading

Numberequals to “GPU{N}_Power” sensor reading.

Status code

HTTP Status CodeError Message ID
500InternalError

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
}
}