| Home | Trees | Index | Help |
|
|---|
| Package funkload :: Module Monitor |
|
A Linux monitor server/controller.
$Id: Monitor.py 28395 2005-10-18 14:20:47Z bdelbosc $| Classes | |
|---|---|
MonitorController |
Monitor controller. |
MonitorInfo |
A simple class to collect info. |
MonitorServer |
The XML RPC monitor server. |
MonitorThread |
The monitor thread that collect information. |
| Function Summary | |
|---|---|
Control monitord server. | |
Read the current system cpu usage from /proc/stat. | |
Read the current system load from /proc/loadavg. | |
Read the current status of memory from /proc/meminfo. | |
Read the stats from an interface. | |
Test wihtout rpc server. | |
| Function Details |
|---|
main()Control monitord server. |
read_cpu_usage()Read the current system cpu usage from /proc/stat. |
read_load_info()Read the current system load from /proc/loadavg. |
read_mem_info(kernel_rev)Read the current status of memory from /proc/meminfo. |
read_net_info(interface='eth0')Read the stats from an interface. |
test()Test wihtout rpc server. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue Feb 27 10:41:42 2007 | http://epydoc.sf.net |