Exemplo n.º 1
0
 def Disable(self):
     """Disable remote debugging"""
     try:
         Remote.off()
     except:
         self.logger.error("Failed to disable Heapy")
         raise Bcfg2.Server.Plugin.PluginInitError
Exemplo n.º 2
0
 def Disable(self):
     """Disable remote debugging"""
     try:
         Remote.off()
     except:
         self.logger.error("Failed to disable Heapy")
         raise Bcfg2.Server.Plugin.PluginInitError
Exemplo n.º 3
0
def monitor():
    """monitor() [0]

Start an interactive remote monitor.

This can be used to get information about the state, in
particular the memory usage, of separately running Python
processes. 

References
    [0] heapy_Use.html#heapykinds.Use.monitor"""
    from guppy.heapy import Remote
    Remote.off()
    m = Monitor()
    m.run()
Exemplo n.º 4
0
def monitor():
    """monitor() [0]

Start an interactive remote monitor.

This can be used to get information about the state, in
particular the memory usage, of separately running Python
processes.

References
    [0] heapy_Use.html#heapykinds.Use.monitor"""
    from guppy.heapy import Remote
    Remote.off()
    m = Monitor()
    m.run()
Exemplo n.º 5
0
 def Disable():
     """Disable remote debugging."""
     Remote.off()