Autor Tópico: PowerTOP utility  (Lida 975 vezes)

Offline Triton

  • Moderador Global
  • Stack Overflow
  • ******
  • Mensagens: 7326
PowerTOP utility
« em: 17 de Maio de 2007, 15:55 »
Sobre:

PowerTOP is a Linux tool that finds the software component(s) that make your laptop use more power than necessary while it is idle. As of Linux kernel version 2.6.21, the kernel no longer has a fixed 1000Hz timer tick. This will (in theory) give a huge power savings because the CPU stays in low power mode for longer periods of time during system idle.

However... there are many things that can ruin the party, both inside the kernel and in userspace. PowerTOP combines various sources of information from the kernel into one convenient screen so that you can see how well your system is doing, and which components are the biggest problem.


Screenshot:



Homepage: aqui.
<3 life

Offline JoaoRodrigues

  • Unsigned User
  • *****
  • Mensagens: 2324
    • Doei Doei: Python, Bioinformatica, etc
Re: PowerTOP utility
« Responder #1 em: 27 de Maio de 2007, 16:59 »
Resumindo..isso faz o ppl poupar energia? É que eu já reparei que a bateria vai ao dobro da velocidade em linux que em windows...

V experimentar ;)



Mas sem "axaxinar" o português tá? ;)
http://doeidoei.wordpress.com

Offline CR_

  • LinTeam Golden Era
  • Unsigned User
  • *****
  • Mensagens: 1361
  • .
    • http://celsor.wordpress.com/
Re: PowerTOP utility
« Responder #2 em: 27 de Maio de 2007, 17:04 »
Pelo que percebi não faz poupar, faz ver o que está a gastar energia.

Podes tentar compilar o kernel 2.6.21 para ver se há poupanças.

Offline Triton

  • Moderador Global
  • Stack Overflow
  • ******
  • Mensagens: 7326
Re: PowerTOP utility
« Responder #3 em: 27 de Maio de 2007, 17:14 »
Resumindo..isso faz o ppl poupar energia? É que eu já reparei que a bateria vai ao dobro da velocidade em linux que em windows...

V experimentar ;)

Se optimizares o sistema em Linux gastas menos que em Windows, agora se instalares um Ubuntu e deixares tudo em default não me admiro nada...

Com esta ferramente podes ver o que está a gastar tempo de processador e optimizar o sistema.
<3 life

Offline JoaoRodrigues

  • Unsigned User
  • *****
  • Mensagens: 2324
    • Doei Doei: Python, Bioinformatica, etc
Re: PowerTOP utility
« Responder #4 em: 28 de Maio de 2007, 09:04 »
Ok...acho que vos vou pedir é ajuda a interpretar isso :D E ya, me n00b e deixei o ubuntu defaultinho ;)



Mas sem "axaxinar" o português tá? ;)
http://doeidoei.wordpress.com

Offline JoaoRodrigues

  • Unsigned User
  • *****
  • Mensagens: 2324
    • Doei Doei: Python, Bioinformatica, etc
Re: PowerTOP utility
« Responder #5 em: 28 de Maio de 2007, 09:09 »
Btw... e instalar isto? Os gajos dizem "ah e tal faz make" eu faço e dá erro... :S

Código (Bash): [Seleccione]
cc -O2 -g -Wall   powertop.c config.c process.c misctips.c bluetooth.c display.c
 suggestions.c wireless.c cpufreq.c -lncursesw -o powertop
display.c:32:21: error: ncurses.h: No such file or directory
display.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*
 token
display.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*
 token
display.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*
 token
display.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*
 token
display.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*
 token
display.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*
 token
display.c:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*
 token
display.c: In function ‘cleanup_curses’:
display.c:50: warning: implicit declaration of function ‘werase’
display.c:50: error: ‘stdscr’ undeclared (first use in this function)
display.c:50: error: (Each undeclared identifier is reported only once
display.c:50: error: for each function it appears in.)
display.c:51: warning: implicit declaration of function ‘refresh’
display.c:52: warning: implicit declaration of function ‘endwin’
display.c: In function ‘zap_windows’:
display.c:57: error: ‘title_bar_window’ undeclared (first use in this function)
display.c:58: warning: implicit declaration of function ‘delwin’
display.c:61: error: ‘cstate_window’ undeclared (first use in this function)
display.c:65: error: ‘wakeup_window’ undeclared (first use in this function)
display.c:69: error: ‘acpi_power_window’ undeclared (first use in this function)
display.c:73: error: ‘timerstat_window’ undeclared (first use in this function)
display.c:77: error: ‘suggestion_window’ undeclared (first use in this function)
display.c:81: error: ‘status_bar_window’ undeclared (first use in this function)
display.c: In function ‘setup_windows’:
display.c:95: warning: implicit declaration of function ‘getmaxyx’
display.c:95: error: ‘stdscr’ undeclared (first use in this function)
display.c:99: error: ‘title_bar_window’ undeclared (first use in this function)
display.c:99: warning: implicit declaration of function ‘subwin’
display.c:100: error: ‘cstate_window’ undeclared (first use in this function)
display.c:101: error: ‘wakeup_window’ undeclared (first use in this function)
display.c:102: error: ‘acpi_power_window’ undeclared (first use in this function
)
display.c:103: error: ‘timerstat_window’ undeclared (first use in this function)
display.c:106: error: ‘suggestion_window’ undeclared (first use in this function
)
display.c:107: error: ‘status_bar_window’ undeclared (first use in this function
)
display.c: In function ‘initialize_curses’:
display.c:118: warning: implicit declaration of function ‘initscr’
display.c:119: warning: implicit declaration of function ‘start_color’
display.c:120: warning: implicit declaration of function ‘keypad’
display.c:120: error: ‘stdscr’ undeclared (first use in this function)
display.c:120: error: ‘TRUE’ undeclared (first use in this function)
display.c:121: warning: implicit declaration of function ‘nonl’
display.c:122: warning: implicit declaration of function ‘cbreak’
display.c:123: warning: implicit declaration of function ‘noecho’
display.c:124: warning: implicit declaration of function ‘curs_set’
display.c:125: warning: implicit declaration of function ‘use_default_colors’
display.c:127: warning: implicit declaration of function ‘init_pair’
display.c:127: error: ‘COLOR_WHITE’ undeclared (first use in this function)
display.c:127: error: ‘COLOR_BLACK’ undeclared (first use in this function)
display.c:129: error: ‘COLOR_RED’ undeclared (first use in this function)
display.c:131: error: ‘COLOR_YELLOW’ undeclared (first use in this function)
display.c:132: error: ‘COLOR_GREEN’ undeclared (first use in this function)
display.c: In function ‘show_title_bar’:
display.c:142: warning: implicit declaration of function ‘wattrset’
display.c:142: error: ‘title_bar_window’ undeclared (first use in this function)
display.c:142: warning: implicit declaration of function ‘COLOR_PAIR’
display.c:143: warning: implicit declaration of function ‘wbkgd’
display.c:146: warning: implicit declaration of function ‘mvwprintw’
display.c:148: warning: implicit declaration of function ‘wrefresh’
display.c:150: error: ‘status_bar_window’ undeclared (first use in this function                                                                                                   )
display.c:156: warning: implicit declaration of function ‘wattron’
display.c:156: error: ‘A_REVERSE’ undeclared (first use in this function)
display.c:158: warning: implicit declaration of function ‘wattroff’
display.c: In function ‘show_cstates’:
display.c:167: error: ‘cstate_window’ undeclared (first use in this function)
display.c:171: error: ‘A_BOLD’ undeclared (first use in this function)
display.c: In function ‘show_acpi_power_line’:
display.c:187: error: ‘acpi_power_window’ undeclared (first use in this function                                                                                                   )
display.c: In function ‘show_wakeups’:
display.c:205: error: ‘wakeup_window’ undeclared (first use in this function)
display.c:213: error: ‘A_BOLD’ undeclared (first use in this function)
display.c: In function ‘show_timerstats’:
display.c:221: error: ‘timerstat_window’ undeclared (first use in this function)
display.c:229: error: ‘A_BOLD’ undeclared (first use in this function)
display.c: In function ‘show_suggestion’:
display.c:252: error: ‘suggestion_window’ undeclared (first use in this function                                                                                                   )
make: *** [powertop] Error 1

Eles falam em algo do kernel ser o 2.6.21 .. eu tenho o .20 .. e n tou a ver maneira de actualizar e é daquelas coisas que tenho "medo" de mexer... Ng tem por ai um how to seguro?
« Última modificação: 28 de Maio de 2007, 09:16 por anaryin »



Mas sem "axaxinar" o português tá? ;)
http://doeidoei.wordpress.com

Offline Triton

  • Moderador Global
  • Stack Overflow
  • ******
  • Mensagens: 7326
Re: PowerTOP utility
« Responder #6 em: 28 de Maio de 2007, 10:57 »
Eles no FAQ dizem que é preciso a versão 2.6.21 do kernel, por isso acho que estás com azar... ;)
« Última modificação: 28 de Maio de 2007, 11:03 por Triton »
<3 life

Offline JoaoRodrigues

  • Unsigned User
  • *****
  • Mensagens: 2324
    • Doei Doei: Python, Bioinformatica, etc
Re: PowerTOP utility
« Responder #7 em: 28 de Maio de 2007, 11:22 »
Pois, já reparei ... e como é que eu instalo essa coisa maligna? De preferencia SEM avariar o pc...



Mas sem "axaxinar" o português tá? ;)
http://doeidoei.wordpress.com

Offline CR_

  • LinTeam Golden Era
  • Unsigned User
  • *****
  • Mensagens: 1361
  • .
    • http://celsor.wordpress.com/
« Última modificação: 15 de Novembro de 2007, 19:43 por CR_ »