From 3a84f15b093c128edb3a387d13a765906f302fe4 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Wed, 15 May 2024 01:29:40 +0200 Subject: [PATCH] add a cheap amd-prefcore script --- local/bin/prefcore-v2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 local/bin/prefcore-v2 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 + + -- 2.51.2