Created
January 28, 2025 23:38
-
-
Save dhensen/37a9cf1bddb62db8317a28091a2d9c1c to your computer and use it in GitHub Desktop.
Script that prints scaling driver, governor and EPP hint currently being used. I only care about cpu0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
# Scaling driver | |
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver | |
# for example: amd-pstate-epp | |
# Scaling governor | |
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | |
# for example: performance | |
# EPP hint | |
cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference | |
# for example: performance |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment