Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- case $1 in
- config)
- cat <<'EOM'
- graph_title GPGPU_fanspeed
- rate.label fanspeed
- EOM
- exit 0;;
- esac
- device_count=0
- device='./getatinumber.py'
- get_device=$($device)
- for i in $get_device; do
- echo -n "fanspeed.value "; DISPLAY=:0.$device_count aticonfig --pplib-cmd "get fanspeed 0" | awk '/Result/ {print $4}' | cut -d "%" -f1
- device_count=$(($device_count+1))
- done
- device_count=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement