linux-metrics is a Python library containing modules for getting OS metrics on systems running the Linux (2.6) kernel. It is a pure python library with no external dependencies.
This project is under development, and nowhere near comprehensive. Only basic stats for major subsystems are provided (Processor/CPU, Disk, Memory, Network). Hopefully, more are coming.
Quick Install (from PyPI)
pip install linux-metrics
The linux-metrics package distribution ships with a Disutils setup script (setup.py) for installation:
python setup.py install (as root)
The full set of command line steps to download/unarchive/install:
tar -zxvf linux-metrics-0.1.2.tar.gz
sudo python setup.py install