Tom Georgoulias wrote:
Richard W.M. Jones wrote:Tom Georgoulias wrote:Richard W.M. Jones wrote:I'm pleased to announce a new release of virt-top, which is a utility like 'top' that works for virtual machines. Many keys and command line options are the same as for ordinary top.Source and binaries for several architectures available from: http://et.redhat.com/~rjones/virt-top/download.htmlThe RHEL5 RPM on the download page is for the RHEL5.1 beta, right?That RPM should (about 99% certain) work on RHEL 5 GA.I asked that because tried installing it on one of my RHEL5 servers and it didn't work at all. When I run virt-top, the terminal kinda "flashes" and returns a prompt.[root@rvrt001d ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5 (Tikanga) [root@rvrt001d ~]# rpm -q virt-top virt-top-0.3.2.5-1 [root@rvrt001d ~]# rpm -q libvirt libvirt-0.1.8-15.el5libvirt for RHEL 5.0 is older than the 0.2.1 you mentioned on the download page, and the RHEL5 beta on RHN has 0.2.3-4.
Ah right, I see. libvirt 0.1.8 is too old for virt-top. You need minimum libvirt 0.2.1. The reason is because we need the vcpu info stuff which was only added in libvirt 0.2.1 (http://libvirt.org/hvsupport.html).
One simple solution is to compile a local copy of libvirt and point the binary at it, something like this:
LD_LIBRARY_PATH=/my/local/copy/lib virt-top By the way, you can narrow down these problems by doing: virt-top --debug somefilewhich will write debugging info to the file (basically, everything which would normally go to stderr, but in a curses program stderr isn't really available).
Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools