Querying Memory Summary
Function
This interface is used to query memory summary.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1/Systems/Memory
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/Memory
Request header:
X-Auth-Token: auth_value
Request message body: None
Response:
{
"@odata.type": "#Memory.v1_15_0.Memory",
"@odata.context": "/redfish/v1/$metadata#Systems/Memory",
"@odata.id": "/redfish/v1/Systems/Memory",
"Id": "Memory",
"Name": "Memory",
"Oem": {
"TotalSystemMemoryGiB": 4
}
}
Response code: 200
Output Description
Field |
Type |
Description |
|---|---|---|
@odata.type |
Character string |
Memory resource type. |
@odata.context |
Character string |
OData description of the memory resource model. |
@odata.id |
Character string |
Path to access the memory resource. |
Id |
Character string |
Memory resource ID. |
Name |
Character string |
Memory resource name. |
Oem |
Object |
Custom attribute. |
TotalSystemMemoryGiB |
Number |
Total size of the memory that can be accessed by the OS. |
Parent topic: System Monitoring