Blame SOURCES/virt-top-1.0.4-processcsv-documentation.patch

4d0a92
--- virt-top-1.0.4.old/virt-top/virt-top.pod	2011-08-11 14:30:30.560493914 +0100
4d0a92
+++ virt-top-1.0.4/virt-top/virt-top.pod	2011-08-11 14:34:00.934495607 +0100
4d0a92
@@ -123,6 +123,22 @@
4d0a92
 
4d0a92
  virt-top --csv >(split -d -l 1000 - output.csv.)
4d0a92
 
4d0a92
+RHEL provides a short Python script called C<processcsv.py> which
4d0a92
+can be used to post-process the CSV output.  Run it like this:
4d0a92
+
4d0a92
+ virt-top --csv data.csv
4d0a92
+ processcsv.py < data.csv
4d0a92
+
4d0a92
+This creates or I<overwrites> the following files in the current
4d0a92
+directory:
4d0a92
+
4d0a92
+ global.csv
4d0a92
+ domain<NNN>.csv
4d0a92
+
4d0a92
+C<global.csv> will contain the global data.  One
4d0a92
+C<domainE<lt>NNNE<gt>.csv> file will also be created for each domain
4d0a92
+with ID C<NNN>, containing the per-domain data.
4d0a92
+
4d0a92
 =item B<--no-csv-cpu>
4d0a92
 
4d0a92
 Disable domain CPU stats in CSV output.