fbac9f
=head1 NAME
fbac9f
fbac9f
processcsv.py - process virt-top CSV files
fbac9f
fbac9f
=head1 SUMMARY
fbac9f
fbac9f
 virt-top --csv data.csv
fbac9f
 processcsv.py < data.csv
fbac9f
fbac9f
=head1 DESCRIPTION
fbac9f
fbac9f
virt-top is a L<top(1)>-like utility for showing stats of virtualized
fbac9f
domains.
fbac9f
fbac9f
processcsv.py is a simple Python script that post-processes the output
fbac9f
of C<virt-top --csv>.
fbac9f
fbac9f
It is used like this:
fbac9f
fbac9f
 virt-top --csv data.csv
fbac9f
 processcsv.py < data.csv
fbac9f
fbac9f
The second command will B<overwrite> the following files in the
fbac9f
current directory:
fbac9f
fbac9f
=over 4
fbac9f
fbac9f
=item C<global.csv>
fbac9f
fbac9f
This contains the global (host) statistics columns from the CSV file.
fbac9f
fbac9f
=item C<domainI<NN>.csv> (multiple files)
fbac9f
fbac9f
For each libvirt domain ID I<NN>, a file is created containing
fbac9f
the per-domain statistics from the CSV file.
fbac9f
fbac9f
=back
fbac9f
fbac9f
=head1 SEE ALSO
fbac9f
fbac9f
L<virt-top(1)>
fbac9f
fbac9f
=head1 AUTHORS
fbac9f
fbac9f
Richard W.M. Jones <rjones @ redhat . com>
fbac9f
fbac9f
=head1 COPYRIGHT
fbac9f
fbac9f
(C) Copyright 2007-2012 Red Hat Inc., Richard W.M. Jones
fbac9f
http://libvirt.org/
fbac9f
fbac9f
This program is free software; you can redistribute it and/or modify
fbac9f
it under the terms of the GNU General Public License as published by
fbac9f
the Free Software Foundation; either version 2 of the License, or
fbac9f
(at your option) any later version.
fbac9f
fbac9f
This program is distributed in the hope that it will be useful,
fbac9f
but WITHOUT ANY WARRANTY; without even the implied warranty of
fbac9f
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
fbac9f
GNU General Public License for more details.
fbac9f
fbac9f
You should have received a copy of the GNU General Public License
fbac9f
along with this program; if not, write to the Free Software
fbac9f
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.