Closed jtru closed 1 year ago
Thanks for writing this PR! I'm really eager for powertop to have this kind of feature.
I don't know if it's still valid, but this github repo shows this message: "The Linux PowerTOP tool -- please post patches to the mailing list instead of using github pull requests." So you might have better luck with the mailing list.
Happy to read you like it :) I did post the resulting patch to the mailing list in addition to creating this PR, but it's still pending moderation there.
I'm merging this PR, it looks great and sounds like a very useful feature
thank you for your contribution
Thanks a lot for accepting it! Looking forward to using it myself in a future release :)
This switch, specified either alone or in addition to --auto-tune, will cause powertop to emit Bourne-shell compatible tuning commands to STDOUT instead of executing them unconditionally.
With --auto-tune-dump, suggested commands/tuning recommendations can be post-processed by shell pipelines involving grep(1) and other stream processors to selectively omit or apply them.