Package Products :: Package ZenRRD :: Module zenprocess :: Class ProcessStats
[hide private]
[frames] | no frames]

Class ProcessStats

source code

Instance Methods [hide private]
 
__init__(self, processProxy) source code
 
update(self, processProxy) source code
 
__str__(self)
Override the Python default to represent ourselves as a string
source code
 
__repr__(self)
Override the Python default to represent ourselves as a string
source code
Boolean
match(self, name, args, useMd5Digest=True)
Perform exact comparisons on the process names.
source code
 
updateCpu(self, pid, value) source code
 
getCpu(self) source code
 
updateMemory(self, pid, value) source code
 
getMemory(self) source code
 
discardPid(self, pid) source code
Method Details [hide private]

match(self, name, args, useMd5Digest=True)

source code 

Perform exact comparisons on the process names.

Parameters:
  • name (string) - name of a process to compare
  • args (string) - argument list of the process
  • useMd5Digest (boolean) - ignore true result if MD5 doesn't match the process name?
Returns: Boolean
does the name match this process's info?