Re: [Powertop] Wishlist: print the commands executed by 'toggle tunables'

Richard Neill <rn214 at richardneill.org> Tue, 17 Jul 2012 21:11:26 +0100
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
>> When I run it, I can toggle various tunable options from within the
>> Powertop interface. As I understand it, the effect of these to invoke an
>> underlying system command such as:
>>    echo value > /sys/device/power/something

>
> on the normal screen, there is not really enough real estate to put the
> full command there.
> however, if you run the --html report, it will give you these commands!
>
> (the html page has a lot more space to put stuff)
>

Dear Arjan,

Thanks for your reply - that is indeed helpful.

I see what you mean that there is less space on the ncurses gui. But 
using the html report is rather "non-discoverable".

For maximum friendliness, might I suggest:

1. When the user exits the ncurses gui, a log of the commands that were 
actually invoked should be printed to stderr.

2. The command that was just run could perhaps be put into the status 
bar at the bottom of the ncurses gui?

Thanks

Richard