collects stats using the PdH interaface on win2K. This module is single-threaded
python - logging occurs in the background, but there is only a single python thread in use.
Methods
|
|
__del__
__init__
getCPU
getConnections
getMemory
getProcesses
getSyscalls
update
|
|
__del__
|
__del__ ( self )
|
|
__init__
|
__init__ (
self,
reportFrequency,
hostname,
port,
)
|
|
getCPU
|
getCPU ( self )
|
|
getConnections
|
getConnections ( self )
|
|
getMemory
|
getMemory ( self )
|
|
getProcesses
|
getProcesses ( self )
|
|
getSyscalls
|
getSyscalls ( self )
|
|
update
|
update ( self )
this should be called periodically to collect stats.
|
|