Represents an abstract system and implements some basic logic.
|
|
|
name(self)
Returns the identifying name of the system. |
source code
|
|
|
|
|
|
|
acquire(self)
Acquire the lock object hidden in this system, |
source code
|
|
|
release(self)
Release the lock object hidden in this system. |
source code
|
|
|
|
|
set_delay(self,
interval)
Sets the update interval after which information is refreshed, in
seconds. |
source code
|
|
|
delay(self)
Returns the update interval after which information is refreshed in
seconds. |
source code
|
|
|
|
|
callback(self)
Returns the callback class being used |
source code
|
|
|
parts(self)
Returns a list of all parts of the system. |
source code
|
|
|
set_uptime(self,
uptime)
Sets the system's uptime object. |
source code
|
|
|
uptime(self)
Returns the system's uptime object. |
source code
|
|
|
add_processor(self,
processor)
Adds a processor to the system. |
source code
|
|
|
processors(self)
Returns a list of processors in the system. |
source code
|
|
|
processor(self,
name)
Returns the processor with the specified name, or None if there is
none. |
source code
|
|
|
set_memory(self,
memory)
Sets the system's memory bank. |
source code
|
|
|
memory(self)
Returns the system's memory bank. |
source code
|
|
|
add_drive(self,
drive)
adds a drive to the system |
source code
|
|
|
drives(self)
Returns a list of all physical drives in the system. |
source code
|
|
|
add_filesystem(self,
filesystem)
adds a filesystem to the system |
source code
|
|
|
filesystems(self)
Returns a list of all filesystems in the system. |
source code
|
|
|
add_networkconnection(self,
nc)
Adds a network connection to the system. |
source code
|
|
|
networkconnections(self)
Returns a list of all network connections in the system |
source code
|
|
|
set_processlist(self,
processlist)
Sets the object representing the process list. |
source code
|
|
|
processlist(self)
Returns the object representing the process list. |
source code
|
|