Memory information
The XML examples in this section provide memory information.
The following example shows an RPC request for memory information.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<get xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<filter type="subtree">
<system>
<state>
<memory xmlns="urn:vyatta.com:mgmt:vyatta-system:1">
</memory>
</state>
</system>
</filter>
</get>
</rpc>
]]>]]>
The following example shows the RPC reply.
<?xml version="1.0" encoding="UTF-8" ?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<data>
<system xmlns="urn:vyatta.com:mgmt:vyatta-system:1">
<state>
<memory>
<active>444076032</active>
<active-file>141246464</active-file>
<anonymous>
<active>302829568</active>
<inactive>8691712</inactive>
</anonymous>
<anonymous-pages>274878464</anonymous-pages>
<available-memory>2527830016</available-memory>
<bounce>0</bounce>
<buffers>56684544</buffers>
<cached>272482304</cached>
<commit-limit>1555976192</commit-limit>
<dirty>122880</dirty>
<free-memory>2399358976</free-memory>
<huge-pages>
<anonymous>102760448</anonymous>
<free>0</free>
<reserved>0</reserved>
<shared-memory>0</shared-memory>
<size>2097152</size>
<surplus>0</surplus>
<total>494</total>
</huge-pages>
<inactive>187539456</inactive>
<inactive-file>178847744</inactive-file>
<kernel-stack>3047424</kernel-stack>
<mapped>75395072</mapped>
<memory-locked>0</memory-locked>
<nfs-unstable>0</nfs-unstable>
<page-tables>6393856</page-tables>
<shared-memory>9076736</shared-memory>
<slab>53288960</slab>
<slab-non-reclaimable>16318464</slab-non-reclaimable>
<slab-reclaimable>36970496</slab-reclaimable>
<swap-cached>0</swap-cached>
<swap-free>0</swap-free>
<swap-total>0</swap-total>
<total-committed-memory>1081114624</total-committed-memory>
<total-memory>4147949568</total-memory>
<unevictable>0</unevictable>
<vmalloc-chunk>0</vmalloc-chunk>
<vmalloc-total>35184372087808</vmalloc-total>
<vmalloc-used>0</vmalloc-used>
<writeback>0</writeback>
<writeback-tmp>0</writeback-tmp>
</memory>
</state>
</system>
</data>
</rpc-reply>
]]>]]>