Tutorial:How to Configure ATS Fan control
#14
(12-25-2018, 02:01 PM)tuxd3v Wrote: Its ok, you can also use decimal values with awk..
Code:
TEMP=`awk '{ print substr( $1, 1, 3 ) / 10 }' /sys/class/thermal/thermal_zone0/temp`
TEMP1=`awk '{ print substr( $1, 1, 3 ) / 10 }' /sys/class/thermal/thermal_zone1/temp`
Perfect! First of all I'm happy, thank you!


Messages In This Thread
RE: Tutorial:How to Configure ATS Fan control - by Neo2018 - 12-25-2018, 02:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  SkiffOS server with Docker ,NAS, Home assistant, Jellyfin, Snikket XMPP (tutorial) GreyLinux 12 12,427 04-04-2022, 05:26 AM
Last Post: GreyLinux
  SimpNas server with docker - home assistant, radicale , jellyfin & esphome (tutorial) GreyLinux 0 4,885 01-17-2021, 11:33 AM
Last Post: GreyLinux
  Serial Connection Tutorial: FTDI 232RL hmuller 0 3,757 10-23-2020, 11:56 AM
Last Post: hmuller
Wink Tutorial[ Seagate Disks ]: Optimize Life Span/Power Managment tuxd3v 14 26,811 06-19-2019, 04:40 AM
Last Post: Neo2018
Thumbs Up Tutorial[ Seagate Disks ]: Install Seagate OpenSeaChest Utilities tuxd3v 41 84,900 04-08-2019, 10:10 AM
Last Post: Neo2018
  Tutorial[ Multimedia ] : Play DVD movies tuxd3v 0 2,986 02-26-2019, 07:21 PM
Last Post: tuxd3v
  Tutorial[ OpenCL ]: OpenCL 1.2 FULL_PROFILE Working tuxd3v 0 4,247 11-06-2018, 01:03 PM
Last Post: tuxd3v

Forum Jump:


Users browsing this thread: 2 Guest(s)