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