Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Watch SGS4 SGX Clock Over and Over

By: a guest on Jul 30th, 2013  |  syntax: None  |  size: 0.19 KB  |  views: 830  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/bash
  2.  
  3. while [ 1 ];
  4. do
  5.         clk=$(./adb shell cat /sys/module/pvrsrvkm/parameters/sgx_gpu_clk)
  6.  
  7.         if [[ $clk > 481 ]]
  8.                 then
  9.                 echo "Clock is over 480"
  10.         fi
  11.  
  12.         echo $clk
  13.         sleep 1
  14. done