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

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