Today, after reading about power management tricks, I needed to run powerstat on my machine, and found out that powertop is not provided in the default Ubuntu 12.04 repositories.
I added the Colin King’s ppa (Colin King is the creator of powerstat) but I realized that the version provided in that ppa is too old to run on modern systems.
I wrote an e-mail to Mr. King to let him know about this issue, then I headed to the git repository.
I was surprised to see that powerstat is a simple C program (less than 1500 lines of code long, comments included) and that building it was as easy as typing `make` and pressing enter.
Some simple notes:
- powerstat homepage is at http://kernel.ubuntu.com/~cking/powerstat/
- powerstat git repository page is at http://kernel.ubuntu.com/git?p=cking/powerstat.git;a=summary
- powerstat git url is: git://kernel.ubuntu.com/cking/powerstat.git
Bye
Colin Ian King on March 14, 2013 at 11:00 pm said:
Just to say thanks for mentioning powerstat and I’ve updated my PPA with the latest version.
manu on March 14, 2013 at 11:54 pm said:
It’s been a pleasure!
I actually realized that the full article has been saved as a draft but not published. Lol.