adding radcheck
This commit is contained in:
parent
8309d7aece
commit
873f3738c4
1 changed files with 15 additions and 0 deletions
15
shell/radcheck.sh
Executable file
15
shell/radcheck.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
_MOD="radeon"
|
||||
_HW="/sys/class/drm/card0"
|
||||
|
||||
echo -e "\nModule: ${_MOD}"
|
||||
echo -e "Hardware: ${_HW}\n"
|
||||
echo -n "DPM enabled: "; cat /sys/module/${_MOD}/parameters/dpm
|
||||
echo -n "ASPM enabled: "; cat /sys/module/${_MOD}/parameters/aspm
|
||||
echo -n "TV enabled: "; cat /sys/module/${_MOD}/parameters/tv
|
||||
echo -n "Audio enabled: "; cat /sys/module/${_MOD}/parameters/audio
|
||||
echo -n "DPM perfstate: "; cat ${_HW}/device/power_dpm_state
|
||||
echo -n "DPM perfmode: "; cat ${_HW}/device/power_dpm_force_performance_level
|
||||
echo
|
||||
sensors | egrep "(CPU|GPU|Fan):"
|
||||
Loading…
Add table
Add a link
Reference in a new issue