XO Monitor

From OLPC
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

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

Getting XO Monitor

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

Installing XO Monitor

Requirements

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

Apt-get based Linux system

For Debian-based Linux systems (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

Yum based Linux system

For Fedora-based Linux systems, including XOs.

git clone git://dev.laptop.org/users/edsiper/xo-monitor
cd xo-monitor
sudo yum install python python-gtk2 python-cairo sshfs python-avahi python-setuptools
sudo yum pexpect

Other operating systems

There is no support for other operating systems (in particular, Windows and Mac OS X) at this time.

Using XO Monitor

In a terminal window, type:

./xo-monitor.py <ip-address-of-the-XO-you-want-to-connect-to> -u <username> -p <password>