[et-mgmt-tools] Re: Question about virt-top csv...

Richard W.M. Jones rjones at redhat.com
Thu Mar 20 09:10:58 UTC 2008


On Wed, Mar 19, 2008 at 02:37:21PM -0600, Spencer Parker wrote:
> I am looking at the csv file that is spewed out by virt-top.  It appears
> that it just puts everything onto one line.  Is there anyway to have it go
> onto a separate lines for each domain.  I am just trying to save myself from
> having to go to a certain index point and then loop till I can get
> everything into the database.  Any insight is appreciated...thanks again!!!

It writes one line per time period, and the domains are concatenated
together on that line with the domain ID first.  What are you using to
parse/import the CSV file?  It should be pretty simple to handle this.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the et-mgmt-tools mailing list