URI | Description |
---|---|
<base_URI>/operational-state/mem-state | Displays memory utilization statistics of the overall system. |
Only GET operation is supported. Use of the Resource-Depth request header is recommended.
The following example shows the complete cURL command and server response for the
mem-state
GET operation.
http://host:80/rest/operational-state/mem-state
curl -H "Accept: application/vnd.operational-state.resource+xml" -H "Resource-Depth: 6" -u "lab:Tester**" http://10.20.229.40:80/rest/operational-state/mem-state
<data xmlns="http://brocade.com/ns/rest" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/operational-state"> <mem-state xmlns="urn:brocade.com:mgmt:brocade-RAS-operational" y:self="/rest/operational-state/mem-state"> <summary y:self="/rest/operational-state/mem-state/summary"> <memory-used-percentage>41.61</memory-used-percentage> <memory-total>12071784</memory-total> <memory-total-used>5023012</memory-total-used> <memory-total-free>7048772</memory-total-free> <memory-low-free>6187144</memory-low-free> <memory-high-free>0</memory-high-free> <memory-cached>861292</memory-cached> </summary> <mem-list y:self="/rest/operational-state/mem-state/mem-list"> <memory-used-percentage>41.61</memory-used-percentage> <memory-total>12071784</memory-total> <memory-total-used>5022640</memory-total-used> <memory-total-free>7049144</memory-total-free> <memory-low-free>6187360</memory-low-free> <memory-high-free>0</memory-high-free> <memory-cached>861388</memory-cached> <memory-per-process y:self="/rest/operational-state/mem-state/mem-list/memory-per-process/5178"> <memory-process-id>5178</memory-process-id> <memory-process-name>hslagtd</memory-process-name> <memory-utilized>8.50</memory-utilized> <memory-utilized-vsize>5352432</memory-utilized-vsize> <memory-utilized-rss>1035196</memory-utilized-rss> <memory-utilized-pss>1030471</memory-utilized-pss> </memory-per-process> <memory-per-process y:self="/rest/operational-state/mem-state/mem-list/memory-per-process/2692"> <memory-process-id>2692</memory-process-id> <memory-process-name>Dcmd</memory-process-name> <memory-utilized>5.00</memory-utilized> <memory-utilized-vsize>5205128</memory-utilized-vsize> <memory-utilized-rss>609588</memory-utilized-rss> <memory-utilized-pss>560648</memory-utilized-pss> </memory-per-process> <memory-per-process y:self="/rest/operational-state/mem-state/mem-list/memory-per-process/5185"> <memory-process-id>5185</memory-process-id> <memory-process-name>fibagt</memory-process-name> <memory-utilized>3.20</memory-utilized> <memory-utilized-vsize>1739144</memory-utilized-vsize> <memory-utilized-rss>396060</memory-utilized-rss> <memory-utilized-pss>327918</memory-utilized-pss> </memory-per-process> <memory-per-process y:self="/rest/operational-state/mem-state/mem-list/memory-per-process/3237"> <memory-process-id>3237</memory-process-id> <memory-process-name>postgres</memory-process-name> <memory-utilized>3.00</memory-utilized> <memory-utilized-vsize>408672</memory-utilized-vsize> <memory-utilized-rss>362956</memory-utilized-rss> <memory-utilized-pss>278516</memory-utilized-pss> </memory-per-process> <memory-per-process y:self="/rest/operational-state/mem-state/mem-list/memory-per-process/3873"> <memory-process-id>3873</memory-process-id> <memory-process-name>mpls_main</memory-process-name> <memory-utilized>2.80</memory-utilized> <memory-utilized-vsize>1880548</memory-utilized-vsize> <memory-utilized-rss>346236</memory-utilized-rss> <memory-utilized-pss>275416</memory-utilized-pss> </memory-per-process> <memory-per-process y:self="/rest/operational-state/mem-state/mem-list/memory-per-process/3871"> <memory-process-id>3871</memory-process-id> <memory-process-name>ospfd</memory-process-name> <memory-utilized>1.80</memory-utilized> <memory-utilized-vsize>1557948</memory-utilized-vsize> <memory-utilized-rss>226732</memory-utilized-rss> <memory-utilized-pss>158470</memory-utilized-pss> </memory-per-process> <memory-per-process y:self="/rest/operational-state/mem-state/mem-list/memory-per-process/3874"> <memory-process-id>3874</memory-process-id> <memory-process-name>sysdiag</memory-process-name> <memory-utilized>1.80</memory-utilized> <memory-utilized-vsize>1520860</memory-utilized-vsize> <memory-utilized-rss>221400</memory-utilized-rss> <memory-utilized-pss>142162</memory-utilized-pss> </memory-per-process> ... </mem-list> <mem-allpart y:self="/rest/operational-state/mem-state/mem-allpart"> <mem-allpart-sum y:self="/rest/operational-state/mem-state/mem-allpart/mem-allpart-sum/%22SW/0%22"> <memory-blade-name>SW/0</memory-blade-name> <memory-used-percentage>41.64</memory-used-percentage> <memory-total>12071784</memory-total> <memory-total-used>5027244</memory-total-used> <memory-total-free>7044540</memory-total-free> <memory-cached>861464</memory-cached> </mem-allpart-sum> </mem-allpart> </mem-state> </data>
Release version | History |
---|---|
18r.2.00 | This API call was introduced. |