Commit Graph

28 Commits

Author SHA1 Message Date
coolsnowwolf
3f4f0ccac9 autocore: implement tempinfo display for luci js 2024-10-17 19:26:28 +08:00
left_left
2593995b8e autocore: fix CPU usage display with procps (#12399) 2024-08-09 21:40:05 +08:00
Miles Poupart
87cc82ea69
autocore: add missing CPU frequency info (#12314)
Fix CPU frequency info for rockchip
2024-07-07 16:18:13 +08:00
coolsnowwolf
4c5284498f autocore: add mediatek mt7988 cpufreq display 2024-07-04 02:46:17 +08:00
coolsnowwolf
ca0d93bec8 Version update to R24.6.6 2024-06-15 18:00:04 +08:00
coolsnowwolf
aeb660ba58 autocore: add nss usage display on index 2024-06-14 17:50:11 +08:00
coolsnowwolf
8578eed80e Revert "autocore: unify wifi signal view"
This reverts commit 30783ee204.
2023-11-17 14:28:30 +08:00
coolsnowwolf
30783ee204 autocore: unify wifi signal view 2023-11-04 15:35:01 +08:00
AmadeusGhost
07ad0eefeb autocore: ethinfo: add dsa display support
Support display any interface name for dsa.
Drop ipq sfp workaround which is not needed.
Add workaround for br* (only this repo needs).
2023-05-09 23:57:26 +08:00
coolsnowwolf
27a331a57b autocore: fix sfp unplugged speed display 2023-02-02 12:46:12 +08:00
AmadeusGhost
613e76c9e0 Revert "autocore: ethinfo: rewritten in lua"
This reverts commit 4f056f8ef3.
Fixes: #10180, #10251
2022-10-25 12:38:39 +08:00
AmadeusGhost
51dccebbdc autocore-arm: update config for filogic 2022-10-25 11:42:00 +08:00
lean
4f056f8ef3 autocore: ethinfo: rewritten in lua 2022-09-21 18:12:59 +08:00
lean
86eb0f2e34 autocore-arm: disable wireless port info show 2022-09-18 21:42:25 +08:00
AmadeusGhost
176c77d7ee autocore-arm: add filogic subtarget support 2022-09-16 22:50:09 +08:00
lean
9ae4851e10 autocore: fix arm eth port seq 2022-07-14 15:08:46 +08:00
hubbylei
bde47d3529
Update cpuinfo (#8250)
Fix errors in scripts
2021-11-13 21:30:01 +08:00
i=菜鸡一批
2c139883e4
Make up the ipq temperature (#8244)
* Make up the ipq temperature

* Update cpuinfo

* 给bcm27xx加个温度吧。
2021-11-13 00:17:35 +08:00
i=菜鸡一批
e65535d3cf
rockchip:rk3399 increases the frequency of complete information of the big core (#8232)
* Update cpuinfo

* Add files via upload

Co-authored-by: KLT007 <84753324+KLT007@users.noreply.github.com>
2021-11-11 18:09:46 +08:00
lean
d48fb0f877 autocore: add eth info for arm/armv8 target 2021-10-11 17:12:01 +08:00
coolsnowwolf
24714104cc autocore-arm: drop lm-sensor for ipq806x 2021-06-22 13:18:56 +08:00
coolsnowwolf
84d1b74472 autocore-arm: get rip of lm-sensor to speedup display index.html 2021-06-22 12:57:40 +08:00
lean
744d1ed2c7 autocore: add ax feature 2021-06-16 10:44:10 +08:00
Chuck
e17961f67e
optimize the performance of obtaining CPU temperature (#6398)
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command:

temp="$(awk "BEGIN{printf (\"%.1f\n\",$(cat /sys/class/thermal/thermal_zone0/temp)/1000) }")°C"

```
real    0m 9.20s
user    0m 3.29s
sys     0m 6.24s
```

new command:

temp="$(awk '{ printf("%.1f °C", $0 / 1000) }' /sys/class/thermal/thermal_zone0/temp)"

```
real    0m 5.57s
user    0m 1.78s
sys     0m 3.97s
```

Signed-off-by: Chuck <fanck0605@qq.com>
2021-02-21 12:27:55 +08:00
Chuck
aaba169f2f
optimize the performance of obtaining CPU usage (#6399)
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command

cpu_usage=$(expr 100 - $(cat /tmp/top_tmp | grep 'CPU:' | awk -F '%' '{print$4}' | awk -F ' ' '{print$2}'))

```
real    0m 14.25s
user    0m 7.96s
sys     0m 20.33s
```

new command

cpu_usage=$(cat /tmp/top_tmp | awk '/^CPU/ { printf("%d%%", 100 - $8) }')

```
real    0m 6.91s
user    0m 4.29s
sys     0m 6.06s
```

Signed-off-by: Chuck <fanck0605@qq.com>
2021-02-21 12:26:19 +08:00
AmadeusGhost
9f9bc95d6b
autocore: avoid resource busy issue on rpi4 (#6095) 2020-12-25 14:32:13 +08:00
CN_SZTL
1e36f5d11c
autocore-arm: add support for mvebu (#5781)
Co-authored-by: 486057 <4860575@qq.com>
2020-11-14 00:52:55 +08:00
CN_SZTL
c39177efcf
autocore: add cpu freq & temp display for some arm devices (#5657)
* autocore: add cpu freq & temp display for some arm devices

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>

* Revert "show CPU Temperature for NanoPi R2S (#5612)"

This reverts commit 099439f051.

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-10-13 01:07:17 +08:00