Merge branch 'master' into core_contrib

pull/78/head
Juko 2020-04-30 01:47:08 +00:00 committed by GitHub
commit c1899383e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,12 @@
# Changelog
## v0.8.17
* Fixed: Not showing CPU temperatures when "Package" temp is missing
* Added: CPU temperature support for AMD Ryzen
* Changed: Minimum size changed from 80x25 to 80x24
* Fixed: High cpu usage on systems with a lot of mounted disks
## v0.8.16
* Added: Bash version check, by Calinou
@ -19,7 +26,7 @@
* Fixed: disks usage runaway array
* Fixed: disks used not reporting new values
* Change: memory and disks update frequency increased
* Changed: memory and disks update frequency increased
## v0.8.13

View File

@ -192,7 +192,7 @@ Might finish off items out of order since I usually work on multiple at a time.
- [x] Add options to change colors for text, graphs and meters.
- [ ] Fix cross platform compatibility: Currently in testing, bashtop-psutil branch.
- [ ] Add support for showing AMD cpu temperatures.
- [x] Add support for showing AMD cpu temperatures.
- [ ] Add option to show tree view of processes.
- [ ] Add option to reset network download/upload totals.
- [ ] Add option to turn of gradient in processes list.

View File

@ -1476,6 +1476,7 @@ collect_cpu_temps() { #? Collect cpu temperatures
i=0
while get_value -v "core_value" -sv "sens_var" -k "Core ${i}:" -mk 1 -r "[^0-9.]" -b -i; do core_array+=("$core_value"); ((++i)) ; done
if [[ -z ${core_array[0]} ]]; then core_array=("${cpu[temp_0]}"); fi
if ((${#core_array[@]}<threads/2)); then
@ -1484,6 +1485,7 @@ collect_cpu_temps() { #? Collect cpu temperatures
done
fi
#* Copy core values to hyperthreading cores
i=1
for core_value in "${core_array[@]}"; do