Hi
I am trying to run powertop on my machine, I think it's really cool tool.
But after installation I was not able see any power related information on
my macchine.
Following is the configuration :-
[root@fos1 linux-3.5]# uname -a
Linux fos1 3.5.0 #1 SMP Wed Jan 30 17:27:06 PST 2013 x86_64 x86_64 x86_64
GNU/Linux
[root@fos1 linux-3.5]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)
[root@fos1 linux-3.5]#
Here is the output produced by the powertop:-
[root@fos1 powertop-2.2]# cat op
PowerTOP 2.1 Overview Idle stats Frequency stats Device stats
Tunables
Summary: 67.4 wakeups/second, 0.0 GPU ops/seconds, 0.0 VFS ops/sec and
8.4% CPU use
Usage Events/s Category Description
1.2 ms/s 37.8 Interrupt [7] sched(softirq)
81.0 ms/s 0.00 Process ./src/powertop
97.4 µs/s 12.6 Timer tick_sched_timer
93.9 µs/s 3.6 kWork cache_reap
45.7 µs/s 3.6 Interrupt [3] net_rx(softirq)
47.5 µs/s 1.8 Process /usr/sbin/ypbind
15.7 µs/s 1.8 Timer hrtimer_wakeup
87.2 µs/s 0.9 Process [ksoftirqd/9]
63.5 µs/s 0.9 Process sshd: ckulkarni@pts
/0
13.4 µs/s 0.9 Process [sync_supers]
5.3 µs/s 0.9 kWork flush_to_ldisc
3.1 µs/s 0.9 kWork
edac_pci_workq_function
2.6 µs/s 0.9 kWork
_base_fault_reset_work
2.1 µs/s 0.9 kWork neigh_periodic_work
405.9 µs/s 0.00 Interrupt [9] RCU(softirq)
278.3 µs/s 0.00 Interrupt [1] timer(softirq)
79.1 µs/s 0.00 Process [kworker/9:1]
55.1 µs/s 0.00 kWork do_dbs_timer
51.8 µs/s 0.00 Timer rh_timer_func
32.2 µs/s 0.00 Process [kworker/0:1]
27.0 µs/s 0.00 Process [kworker/u:0]
18.6 µs/s 0.00 Process [kworker/7:1]
13.6 µs/s 0.00 kWork vmstat_update
10.1 µs/s 0.00 kWork
edac_mc_workq_function
9.9 µs/s 0.00 Process [kworker/2:1]
9.8 µs/s 0.00 Process [kworker/1:1]
8.2 µs/s 0.00 Process [kworker/14:1]
6.6 µs/s 0.00 Process [kworker/u:2]
3.3 µs/s 0.00 Timer
sync_supers_timer_fn
3.2 µs/s 0.00 Timer
clocksource_watchdog
2.7 µs/s 0.00 Timer
br_hello_timer_expired
2.6 µs/s 0.00 Interrupt [101] eth0-TxRx-0
2.0 µs/s 0.00 Interrupt [106] eth0-TxRx-5
1.6 µs/s 0.00 Interrupt [104] eth0-TxRx-3
1.6 µs/s 0.00 Interrupt [108] eth0-TxRx-7
0.7 µs/s 0.00 Timer tcp_write_timer
[root@fos1 powertop-2.2]#
I observed that first column is absent.
As per the readme file I tried to look for kernel configuration but found
following variables set in my .config file
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_HPET_TIMER=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_USB_SUSPEND=y
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=5
CONFIG_TIMER_STATS=y
CONFIG_PERF_EVENTS=y
CONFIG_PERF_COUNTERS<<<<<<<<<<<<<<<<<not
available in my kernel
CONFIG_TRACEPOINTS<<<<<<<<<<<<<<< not
available in my kernel
CONFIG_TRACEPOINTS=y
CONFIG_TRACING=y
CONFIG_TRACING_SUPPORT=y
CONFIG_EVENT_POWER_TRACING_DEPRECATED=y
CONFIG_ACPI_PROCFS_POWER=y
Can someone help to get powertop running?
Regards,
Royy