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

21ce7e
diff -ur virt-top-1.0.9.old/src/virt-top.pod virt-top-1.0.9.new/src/virt-top.pod
21ce7e
--- virt-top-1.0.9.old/src/virt-top.pod	2020-05-05 12:01:25.069799212 +0100
21ce7e
+++ virt-top-1.0.9.new/src/virt-top.pod	2020-05-05 12:02:05.234337666 +0100
21ce7e
@@ -129,6 +129,22 @@
21ce7e
 
21ce7e
  virt-top --csv >(split -d -l 1000 - output.csv.)
21ce7e
 
21ce7e
+RHEL provides a short Python script called C<processcsv.py> which
21ce7e
+can be used to post-process the CSV output.  Run it like this:
21ce7e
+
21ce7e
+ virt-top --csv data.csv
21ce7e
+ processcsv.py < data.csv
21ce7e
+
21ce7e
+This creates or I<overwrites> the following files in the current
21ce7e
+directory:
21ce7e
+
21ce7e
+ global.csv
21ce7e
+ domain<NNN>.csv
21ce7e
+
21ce7e
+C<global.csv> will contain the global data.  One
21ce7e
+C<domainE<lt>NNNE<gt>.csv> file will also be created for each domain
21ce7e
+with ID C<NNN>, containing the per-domain data.
21ce7e
+
21ce7e
 =item B<--no-csv-cpu>
21ce7e
 
21ce7e
 Disable domain CPU stats in CSV output.