All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Neill <rn214 at richardneill.org>
To: powertop@lists.01.org
Subject: Re: [Powertop] Wishlist: print the commands executed by 'toggle tunables'
Date: Tue, 17 Jul 2012 21:11:26 +0100	[thread overview]
Message-ID: <5005C6EE.8030001@richardneill.org> (raw)
In-Reply-To: 5005C09E.7030309@linux.intel.com

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]


>> 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


             reply	other threads:[~2012-07-17 20:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 20:11 Richard Neill [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-07-17 20:30 [Powertop] Wishlist: print the commands executed by 'toggle tunables' Sergey Senozhatsky
2012-07-17 19:44 Arjan van de Ven
2012-07-17 19:13 Richard Neill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5005C6EE.8030001@richardneill.org \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.