Remove duplicate print of CPU power
This commit is contained in:
parent
8559f6f48a
commit
4303f0753e
4
power.sh
4
power.sh
@ -46,10 +46,6 @@ do
|
|||||||
PL2_W="$(echo "${PL2_uW}/1000000" | bc -lq)"
|
PL2_W="$(echo "${PL2_uW}/1000000" | bc -lq)"
|
||||||
F="${F}\t$(printf "%.1f" "${PL2_W}")"
|
F="${F}\t$(printf "%.1f" "${PL2_W}")"
|
||||||
|
|
||||||
E="$(cat /sys/class/powercap/intel-rapl\:0/energy_uj)"
|
|
||||||
W="$(echo "(${E} - ${last_E})/1000000" | bc -lq)"
|
|
||||||
F="${F}\t$(printf "%.1f" "${W}")"
|
|
||||||
|
|
||||||
T="$(cat /sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input)"
|
T="$(cat /sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input)"
|
||||||
C="$(echo "${T}/1000" | bc -lq)"
|
C="$(echo "${T}/1000" | bc -lq)"
|
||||||
F="${F}\t$(printf "%.1f" "${C}")"
|
F="${F}\t$(printf "%.1f" "${C}")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user