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