Created attachment 360057 [details]
Interactive mode output
Description of problem:
I would like to use the csv output of virt-top to populate an RRD Tool database and show the memory utilisation of a physical server.
The values that I would like to display are the following :-
1. Overall Hardware memory allocation (KB)
2. Total Memory (KB)
3. Total Guest Memory (KB)
Currently Item 1 - "Overall Hardware Memory" is displayed in the interactive mode but does not appear in the csv output, making it hard to chart from the data provided in the csv file.
Should this not be included in the CSV output as it is in the interactive mode display ?
Please can the "Overall Hardware Memory" be included into the csv output?
As an aside I also notice that the "CPU Mhz" is also missing from the csv output.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run virt-top in interactive mode ("virt-top")- hardware memory displayed on first line 6th item in.
2. run virt-top in csv mode "virt-top --csv virt-top.csv"
3. compare interactive and csv output to show that field is missing.
Please view the jpg file for a screenshot of the interactive mode.
The CSV output on this example server is :-
---- Start of CSV output ----
Hostname,Time,Arch,Physical CPUs,Count,Running,Blocked,Paused,Shutdown,Shutoff,Crashed,Active,Inactive,%CPU,Total memory (KB),Total guest memory (KB),Total CPU time (ns),Domain ID,Domain name,CPU (ns),%CPU,Block RDRQ,Block WRRQ,Net RXBY,Net TXBY
---- End of CSV output ----
Before or after physical CPU's (seems logical) to output "Overall Hardware Memory" into the csv output file.
You could actually get this from 'virsh nodeinfo', but I
added it to virt-top anyway. It's returned in KB (not MB)
because that is how libvirt gives it to us, and also because
that is consistent with the other memory fields.
Created attachment 363688 [details]
Example CSV file with extra field.
Fixed upstream in:
virt-top-1.0.4-1.fc12.1 has been submitted as an update for Fedora 12.