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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by jahil (Contact Author) (Forums) on Thu, 2009-05-28 13:10. :: Debian | Virtualization

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.

 

Dependencies

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:

wget http://bitstring.googlecode.com/files/ocaml-bitstring-2.0.0.tar.gz

Compile:

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

Sources:

mkdir virt ; cd virt ; wget http://et.redhat.com/~rjones/virt-ctrl/files/virt-ctrl-1.0.1.tar.gz http://et.redhat.com/~rjones/virt-mem/files/virt-mem-0.3.1.tar.gz http://et.redhat.com/~rjones/virt-df/files/virt-df-2.1.5.tar.gz http://et.redhat.com/~rjones/virt-top/files/virt-top-1.0.3.tar.gz

 

Compile

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


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Sponsored Links: Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com

One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com

AT&T Synaptic Compute as a Service. Boost your power on demand.

Trial: IBM Cognos Express Reporting, Analysis & Planning