Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Armbian build PR] - Fix: Armbianmonitor: Print the CPU frequency correctly without privileges

Featured Replies

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.