These are chat archives for Spirals-Team/powerapi

20th
May 2015
Loïc Huertas
@huertas
May 20 2015 08:51

Hello, to use the command line module (CLI), you have to type these following commands at the root folder :

$ sbt

project powerapi-cli
stage
exit
$ cd powerapi-cli/target/universal/stage
$ ./bin/powerapi (-h for help)
$ ./bin/powerapi modules cpu-simple monitor --frequency 1000 --targets [application_name | application_pid] [--console | --file | --chart]

Also, you have to configure PowerAPI, namely to modify configuration file by adding the TDP (http://en.wikipedia.org/wiki/Thermal_design_power) value of your processor. To do that, just write in conf/powerapi.conf file :

powerapi.cpu.tdp = [TDP_value_in_Watt]

Steven Feldman
@MrStevenFeldman
May 20 2015 16:31
Thank you that helps a lot! If this was in the README file it would be helpful to others as well