XO Monitor

From OLPC
Revision as of 14:11, 23 October 2008 by Mchua (talk | contribs) (Download)
Jump to: navigation, search

This is an external program to watch the XO resources through the network, it uses ssh + FUSE to mount the XO root filesystem in a local directory, most of the information comes from the remote procfs.

Xo-monitor 002.png

Current Features

  • Get XO basic information as: build, kernel, firmware, model, serial number, etc
  • Trace system CPU usage
  • Log viewer
  • Simple network stats
  • List XOs in the local network

Requirements

  • Python
  • PyGtk
  • PyCairo
  • FUSE
  • sshfs
  • Avahi (in fc6, rpm avahi-tools is needed for python2.4/site-packages/avahi)
  • python-crypto

Download

The first alpha snapshot can be found here:

http://dev.laptop.org/~edsiper/projects/xo-monitor-alpha-0.1.tar.gz

or you can get the latest development version from the git repository:

$ git clone git://dev.laptop.org/users/edsiper/xo-monitor

Usage

Example given for a Debian-based Linux system (Ubuntu, etc).

git clone git://dev.laptop.org/users/edsiper/xo-monitor
cd xo-monitor
sudo apt-get install python python-gtk2 python-cairo sshfs python-avahi python-setuptools
sudo easy_install pexpect
./xo-monitor.py <ip-address-of-the-XO-you-want-to-connect-to> -u <username> -p <password>