Copyright (c)2007 piotr.pogorzelski pp@xxxxxxxxxxxxxxx See https://gna.org/projects/xgsqli/ Script for reading xen guests config files into a single sql database which is later populated with other data, as lvm volumes sizes, to allow simpler reporting about resources and configuration of all guests on xen hosts requires sqlite3 under debian install packages: python-pysqlite2, sqlite3 this is alpha code, as a proof of concept and an excersise to learn python, this is my first program in python so do not hesitate to send any python code snippets or improvements this is alpha code, "tested" only on xen configured with lvm volumes simple usage: (assuming to scan /etc/xen) ./xgsqli help ./xgsqli --dbname=xenhost1 initdb ./xgsqli --dbname=xenhost1 import_all_configs ./xgsqli --dbname=xenhost1 import_lvm_sizes ./xgsqli --dbname=xenhost1 report ./xgsqli --dbname=xenhost1 --select-fields=name,memory,dhcp,kernel,root ./xgsqli --dbname=xenhost1 report_vifs ./xgsqli --dbname=xenhost1 report_disks -- regards piotr