예제 #1
0
파일: Guppy.py 프로젝트: dhutty/bcfg2
 def Disable(self):
     """Disable remote debugging"""
     try:
         Remote.off()
     except:
         self.logger.error("Failed to disable Heapy")
         raise Bcfg2.Server.Plugin.PluginInitError
예제 #2
0
파일: Guppy.py 프로젝트: psteinbachs/bcfg2
 def Disable(self):
     """Disable remote debugging"""
     try:
         Remote.off()
     except:
         self.logger.error("Failed to disable Heapy")
         raise Bcfg2.Server.Plugin.PluginInitError
예제 #3
0
파일: Monitor.py 프로젝트: 15580056814/hue
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()
예제 #4
0
파일: Monitor.py 프로젝트: yueyub/guppy3
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()
예제 #5
0
 def Disable():
     """Disable remote debugging."""
     Remote.off()