From: Andre Ramnitz Date: Tue, 14 May 2024 23:29:40 +0000 (+0200) Subject: add a cheap amd-prefcore script X-Git-Tag: v0.2~188 X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=3a84f15b093c128edb3a387d13a765906f302fe4;p=dotfiles.git add a cheap amd-prefcore script --- diff --git a/local/bin/prefcore-v2 b/local/bin/prefcore-v2 new file mode 100755 index 00000000..62faef46 --- /dev/null +++ b/local/bin/prefcore-v2 @@ -0,0 +1,7 @@ +#!/bin/bash + +for i in $(ls -1 /sys/devices/system/cpu | grep -E cpu\[0-9\]); + do printf $i\ && cat /sys/devices/system/cpu/$i/acpi_cppc/highest_perf; done |\ + sort -k2 -r | head -n12 + +