Public bug reported:

Binary package hint: powertop

By default, 'powertop' prints information such as:

  "PowerTOP needs to be run as root to collect enough information"

and:

  "echo 1500 > /proc/sys/vm/dirty_writeback_centisecs"

The first message can be changed to be more generic "root, or using
'sudo $0'".  The second message can check $0 of the parent process and
if being run via sudo display suggestions as:

  echo 1500 | sudo tee -a /proc/sys/vm/dirty_writeback_centisecs

** Affects: powertop (Ubuntu)
     Importance: Wishlist
         Status: New

** Changed in: powertop (Ubuntu)
   Importance: Undecided => Wishlist

-- 
make sudo suggestions/help text 'sudo' aware
https://bugs.launchpad.net/bugs/236158
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to