streda 19. januára 2022

powertop on centos8

Powertop is the other monitoring tool to cli in linux. 



Installation is very simple:


 dnf install powertop



How it use? 

just command powertop:

There is an output from powertop:

Summary: 183.2 wakeups/second,  0.0 GPU ops/seconds, 0.0 VFS ops/sec and 0.8% CP

                Usage       Events/s    Category       Description
              2.8 ms/s      48.2        Process        [PID 3495] powertop
            202.7 µs/s      32.8        Timer          tick_sched_timer
            309.1 µs/s      15.4        Timer          hrtimer_wakeup
            129.4 µs/s      13.5        Process        [PID 10] [rcu_sched]
            191.9 µs/s      10.6        Process        [PID 3285] /usr/sbin/http
            208.3 µs/s       5.8        Process        [PID 3331] /usr/sbin/http
            182.4 µs/s       3.9        Process        [PID 3284] /usr/sbin/http
            161.4 µs/s       3.9        Process        [PID 2242] /usr/lib64/ici
              6.1 µs/s       3.9        kWork          kfree_rcu_monitor


we can calibrate powertop: 


[root@localhost ~]# powertop --calibrate
[root@localhost ~]# powertop --calibrate
modprobe cpufreq_stats failedLoaded 0 prior measurements
RAPL device for cpu 0
RAPL device for cpu 0
Devfreq not enabled
glob returned GLOB_ABORTED
Starting PowerTOP power estimate calibration
Calibrating idle
/usr/bin/xset:  unable to open display ":0"
Calibrating: disk usage
...



and powetop will be running

- we have cli

Žiadne komentáre:

Zverejnenie komentára