diff --git a/CHANGELOG.md b/CHANGELOG.md index 71daa11..bd12d4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index d4cf218..54e6e5d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/bashtop b/bashtop index f7aa151..9de805d 100755 --- a/bashtop +++ b/bashtop @@ -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[@]}