Blame SOURCES/processcsv.py.pod

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