Package sysmon :: Module remote :: Class RemoteMemory
[hide private]
[frames] | no frames]

Class RemoteMemory

source code

system.SystemPart --+    
                    |    
        system.Memory --+
                        |
                       RemoteMemory

Represents the physical memory (RAM) of a remote system.

Instance Methods [hide private]
 
__init__(self, contact)
Creates a RemoteMemory instance based on the given RemoteContact.
source code
 
do_update(self)
Perform the actual update.
source code
 
dict(self)
Returns a dictionary with a massive amount of meta-information, by string.
source code
 
contact(self)
Returns the backing RemoteContact object.
source code

Inherited from system.Memory: active_memory, free_memory, free_swap, inactive_memory, total_memory, total_swap, unused_memory

Inherited from system.SystemPart: callback, delay, set_delay, set_system, system, update

Static Methods [hide private]

Inherited from system.SystemPart: null

Method Details [hide private]

__init__(self, contact)
(Constructor)

source code 

Creates a RemoteMemory instance based on the given RemoteContact.

Overrides: system.SystemPart.__init__

do_update(self)

source code 

Perform the actual update.

Part implementations should override this method.

Overrides: system.SystemPart.do_update
(inherited documentation)

dict(self)

source code 

Returns a dictionary with a massive amount of meta-information, by string.

Most implementations will take this directly out of /proc/meminfo. It is generally bad form to use this in an application.

Overrides: system.Memory.dict
(inherited documentation)