NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Script to adjust cpu frequency according to cpu temprature



> 
> temp0=`envstat | grep cpu0 | cut -d \  -f 9 | cut -b 1,2`
> temp1=`envstat | grep cpu1 | cut -d \  -f 9 | cut -b 1,2`
> 

Hello ,

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 ,

John

P.S. Thanks for the script .





Home | Main Index | Thread Index | Old Index