[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Script to adjust cpu frequency according to cpu temprature
That should work (maybe better) too, i escaped extra space by \ while
you used " ". Fine.
John Boyd, 05/08/09 00:58:
temp0=`envstat | grep cpu0 | cut -d \ -f 9 | cut -b 1,2`
temp1=`envstat | grep cpu1 | cut -d \ -f 9 | cut -b 1,2`
I had to use " envstat | grep cpu0 | cut -d " " -f 9 | cut -b 1,2 "
instead to get my cpu temperature . I also have a core 2 duo processor .
That is use " " instead of \ in the command .
Best regards ,
P.S. Thanks for the script .
Main Index |
Thread Index |