Package funkload :: Module Monitor
[show private | hide private]
[frames | no frames]

Module funkload.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
  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)
Read the stats from an interface.
  test()
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.

Generated by Epydoc 2.1 on Tue Feb 27 10:41:42 2007 http://epydoc.sf.net