How To Compile virt-df, virt-top, virt-mem & virt-ctrl On Debian Lenny

Version 1.0

Author: Mohsin Mirza <named.conf [at] gmail [dot] com>

This short guide explains how you can build virt-df, virt-top, virt-mem and virt-ctrl from the sources on a Debian Lenny system. These tools are currently available for Fedora in binary format.

virt-top - "top"-like utility for showing stats of virtualized domains.

virt-df - "df" for virtual guests. Run this on the host/dom0 to find out how much disk space is used and available on all partitions of all the guests.

virt-mem are tools for monitoring virtual guest load, kernel messages, process lists and so on without needing to log in to the guest itself.

virt-ctrl is a graphical management app for virtual machines, modelled after Virtual Machine Manager.



apt-get install libvirt-ocaml-dev ocaml-findlib libextlib-ocaml-dev libextlib-ocaml-dev libxml-light-ocaml-dev ocaml-native-compilers camlp4 camlp4-extra libgettext-ocaml-dev libcsv-ocaml-dev cmigrep libcurses-ocaml-dev liblablgtk2-ocaml-dev libdbus-ocaml-dev build-essential automake autoconf

Download ocaml-bitstring:



tar zxvf ocaml-bitstring-2.0.0.tar.gz ; cd ocaml-bitstring-2.0.0 ; ./configure ; make && make install


mkdir virt ; cd virt ; wget



tar zxvf virt-df-2.1.5.tar.gz ; cd virt-df-2.1.5 ; ./configure ; make all ; make opt ; make install

tar zxvf virt-top-1.0.3.tar.gz ; cd virt-top-1.0.3 ; ./configure ; make all ; make opt ; make install

tar zxvf virt-ctrl-1.0.1.tar.gz ; cd virt-ctrl-1.0.1 ; ./configure ; make all ; make opt ; make install

tar zxvf virt-mem-0.3.1.tar.gz ; cd virt-mem-0.3.1 ; ./configure ; make ; make install

Share this page:

0 Comment(s)

Add comment