MCPcopy
hub / github.com/retspen/webvirtcloud / get_cur_memory

Method get_cur_memory

vrtManager/instance.py:183–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

181 return int(mem) / 1024
182
183 def get_cur_memory(self):
184 mem = util.get_xml_path(self._XMLDesc(0), "/domain/currentMemory")
185 return int(mem) / 1024
186
187 def get_description(self):
188 return util.get_xml_path(self._XMLDesc(0), "/domain/description")

Callers 1

instanceFunction · 0.80

Calls 1

_XMLDescMethod · 0.95

Tested by

no test coverage detected