Task:
I can sar -u > tmp.csv and I can sar -r > tmp.csv But what I need is a big table of all the sa* files of all the options.
sar -r -u -S -q > tmp.csv
does not quite do the job
Problems
The length of sar -r and lets say sar -u might be different. For one of them I had 3625, for the other 3650 and that is not acceptable.
Possible solution
for each sa* file I do sar -r sa* > sar_r_sa*.csv, I do that for -r -u -S -q and I get about 120 files of data which I could somehow merge with Python by the first column e.g. ( 7,50,01 ).
But I feel like there is a easier solution to the problem.
Question
How should I approach collecting all the data in a single file