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

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