1 
2 import blaster
3 server = blaster.Blaster('localhost', 3412, [])
4 server.login('myname', '', None)
5 for unit in server.get("<key oid='__cmd:?totalMem'/>", "<qos/>"):
6   print unit.xmlKey, unit.content, unit.qos
7 server.logout()


syntax highlighted by Code2HTML, v. 0.9.1