From: Randy Dunlap <[email protected]> Maybe most (all?) people don't use -d with powertop, but I do lots of scripting. However, usually 'powertop -d -t 600' prints no useful data for me without this small patch. Not that I can explain it...
Signed-off-by: Randy Dunlap <[email protected]> --- powertop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- powertop-1.11.orig/powertop.c +++ powertop-1.11/powertop.c @@ -876,7 +876,8 @@ int main(int argc, char **argv) stop_timerstats(); - clear_lines(); + if (!dump) + clear_lines(); do_proc_irq(); read_data(&cur_usage[0], &cur_duration[0]); --- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/ _______________________________________________ Discuss mailing list [email protected] http://lists.lesswatts.org/listinfo/discuss
