Package funkload :: Module Monitor :: Class MonitorThread
[show private | hide private]
[frames | no frames]

Type MonitorThread

object --+        
         |        
  _Verbose --+    
             |    
        Thread --+
                 |
                MonitorThread


The monitor thread that collect information.
Method Summary
  __init__(self, records, host, interval, interface)
  checkKernelRev(self)
Check the linux kernel revision.
  countRecorders(self)
Return the number of recorder.
  monitor(self)
The monitor task.
  run(self)
Thread jobs.
  setHost(self, host)
Set the monitored host.
  setInterface(self, interface)
Set the network interface to monitor.
  setInterval(self, interval)
Set the interval between monitoring.
  startRecord(self)
Enable recording.
  stop(self)
Stop the thread.
  stopRecord(self)
Stop recording.
    Inherited from Thread
  __repr__(self)
  getName(self)
  isAlive(self)
  isDaemon(self)
  join(self, timeout)
  setDaemon(self, daemonic)
  setName(self, name)
  start(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

checkKernelRev(self)

Check the linux kernel revision.

countRecorders(self)

Return the number of recorder.

monitor(self)

The monitor task.

run(self)

Thread jobs.
Overrides:
threading.Thread.run

setHost(self, host)

Set the monitored host.

setInterface(self, interface)

Set the network interface to monitor.

setInterval(self, interval)

Set the interval between monitoring.

startRecord(self)

Enable recording.

stop(self)

Stop the thread.

stopRecord(self)

Stop recording.

Generated by Epydoc 2.1 on Tue Feb 27 10:41:43 2007 http://epydoc.sf.net