Hi,
I think it would be useful if PowerTOP could by default write reports to STDOUT
(the output could be easily filtered through pipes).
I proposed patch [1], which:
- makes the filename argument of CSV, HTML reports optional (was previously mandatory),
if it is not specified it outputs to STDOUT
- reintroduced the old -d, --dump switch, which writes report in plain text
(which could be also useful and at least keeps user interface backward
compatibility with powertop 1.x)
thanks & regards
Jaroslav
[1]
https://github.com/fenrus75/powertop/pull/22