RSS Bot Posted February 10, 2023 Posted February 10, 2023 Description Print the CPU frequency correctly without privileges. Some CPU's have two clusters and at the same time are not representatives of the "Big.Little" architecture. It will be correct to print about the presence of adjustment of two clusters How Has This Been Tested? Before the changes: leo@bananapim3:~$ armbianmonitor -m 1 Running unprivileged. CPU frequency will not be displayed. Stop monitoring using [ctrl]-[c] Warning: High update frequency (1 sec) might change system behaviour! Time big.LITTLE load %cpu %sys %usr %nice %io %irq CPU C.St. 10:46:45: --- 0.05 0% 0% 0% 0% 0% 0% 45,0 °C 0/5 10:46:46: --- 0.05 1% 1% 0% 0% 0% 0% 44,8 °C 0/5 10:46:47: --- 0.05 1% 1% 0% 0% 0% 0% 45,3 °C 0/5 10:46:48: --- 0.05 1% 1% 0% 0% 0% 0% 45,0 °C 0/5 10:46:49: --- 0.13 1% 1% 0% 0% 0% 0% 45,2 °C 0/5^C After: leo@bananapim3:~$ armbianmonitor -m 1 Two CPU clusters are available for monitoring Stop monitoring using [ctrl]-[c] Warning: High update frequency (1 sec) might change system behaviour! Time CPU_cl0/CPU_cl1 load %cpu %sys %usr %nice %io %irq Tcpu C.St. 15:31:08 1152/1152 MHz 0.25 0% 0% 0% 0% 0% 0% 30,2 °C 0/5 15:31:09 1152/1152 MHz 0.25 1% 1% 0% 0% 0% 0% 30,4 °C 0/5 15:31:10 768/ 768 MHz 0.25 1% 1% 0% 0% 0% 0% 30,3 °C 0/5 15:31:11 768/1152 MHz 0.25 1% 1% 0% 0% 0% 0% 29,3 °C 0/5 15:31:12 1344/1152 MHz 0.23 1% 1% 0% 0% 0% 0% 29,5 °C 0/5 15:31:13 1344/1152 MHz 0.23 1% 1% 0% 0% 0% 0% 29,9 °C 0/5 15:31:15 768/1152 MHz 0.23 1% 1% 0% 0% 0% 0% 29,4 °C 0/5 15:31:16 1152/1152 MHz 0.23 1% 1% 0% 0% 0% 0% 29,9 °C 0/5 15:31:17 1344/1344 MHz 0.23 1% 1% 0% 0% 0% 0% 30,4 °C 0/5 15:31:18 1344/1152 MHz 0.21 1% 1% 0% 0% 0% 0% 30,2 °C 0/5 15:31:19 768/1152 MHz 0.21 1% 1% 0% 0% 0% 0% 30,0 °C 0/5 15:31:20 1344/1152 MHz 0.21 1% 1% 0% 0% 0% 0% 29,4 °C 0/5 15:31:21 1344/1152 MHz 0.21 1% 1% 0% 0% 0% 0% 29,6 °C 0/5 15:31:23 1152/1152 MHz 0.19 1% 1% 0% 0% 0% 0% 29,8 °C 0/5 Time CPU_cl0/CPU_cl1 load %cpu %sys %usr %nice %io %irq Tcpu C.St. 15:31:24 1344/1152 MHz 0.19 1% 1% 0% 0% 0% 0% 30,2 °C 0/5 15:31:25 768/1152 MHz 0.19 1% 1% 0% 0% 0% 0% 30,0 °C 0/5 15:31:26 1152/1152 MHz 0.19 1% 1% 0% 0% 0% 0% 30,1 °C 0/5 15:31:27 1344/1152 MHz 0.18 1% 1% 0% 0% 0% 0% 30,3 °C 0/5^C Checklist: [x] Test works on board bananapim3. CPU control of the two clusters. View the full article 1
Recommended Posts