|
Post by scoombs on Jun 21, 2024 0:01:59 GMT
Hello, To access the power consumed per CPU core processor, one approach that seemed like it might work, but is deprecated, was to check the /redfish/v1/Systems/{id}/Processors/{1-N}/ProcessorMetrics property, ConsumedPowerWatt, as shown below: coombsu@cairmacl1037 SPR % curl -sH "Content-Type: application/json" -k -X GET redfish.dmtf.org/schemas/v1/ProcessorMetrics.v1_6_4.json | jq .definitions.ProcessorMetrics.properties.ConsumedPowerWatt.deprecated "This property has been deprecated in favor of the properties in `EnvironmentMetrics`." coombsu@cairmacl1037 SPR % Checking the Redfish Property Guide, www.dmtf.org/sites/default/files/standards/documents/DSP2053_2024.1.pdf , in the EnvironmentMetrics section on p. 77, the "Defined in Schema(s)" column includes "Processor", with the "Description" column reading, "The link to the environment metrics for this processor". So, would the per-CPU-core power consumption be found in the /redfish/v1/Systems/{id}/Processors/{1-N}/EnvironmentMetrics PowerWatts property? Thank you, Susan Coombs
|
|
|
Post by mraineri on Jun 21, 2024 12:35:51 GMT
Just to be clear about the distinction, when you say "core", do you mean a CPU package/socket? If so, what you have is correct.
If you do mean a core within a CPU, that would be found under the "SubProcessors" collection at /redfish/v1/Systems/{id}/Processors/{1-N}/SubProcessors/{1-M}. However, we do not support EnvironmentMetrics on individual cores; at the time we did not think CPUs had these types of metrics on a core-by-core basis. If this is needed (and really supported by CPUs), we can discuss adding /redfish/v1/Systems/{id}/Processors/{1-N}/SubProcessors/{1-M}/EnvironmentMetrics.
|
|