def printNameSpace(processname):
 print "Printing name space for " + processname
 nameserver =AdminControl.queryNames("*:*,type=NameServer,process="+porcessname)
 print AdminControl.invoke(nameserver,"dumpServerNameSpace",'["-report long"]')   
printNameSpace('dmgr')
The
printNameSpace command takes name of the process as argument and generates dump which is same as the output of the dumpNameSpace for that process
 
 
No comments:
Post a Comment