Tutorial:How to Configure ATS Fan control
#10
(12-22-2018, 03:44 PM)tuxd3v Wrote: RockPro64
Hello tuxd3v,
i have a completely different question, maybe you can help me or an idea!
I create for me a welcome message for "SSH-Putty" connection. > EXAMPLE. On my RaspberryPi there is a command to read the CPU temperature "vcgencmd measure_temp" and I get a simple output>
Code:
pi@myhomeserver:~ $ vcgencmd measure_temp
temp=45.6'C
For the welcome message, for the temperature I use this code and get the>
Code:
# Temperatur
TEMP=`vcgencmd measure_temp | cut -c "6-9"
............
............
\033[0;35m+    \033[0;37mTemperatur \033[0;35m= \033[1;32m$TEMP °C
............
............
EXAMPLE >
Code:
pi@myhomeserver:~ $ sh welcome.sh
+++++++++++++++++: System Data :++++++++++++++++++++++++++++++++
+ Date and Time = Tue 25 Dec 13:22:22 CET 2018
+      Hostname = myhomeserver
+        Uptime = 0 Tage, 0:42 Stunden
+        Kernel = 4.14.79-v7+
+     CPU model = ARMv7 Processor rev 4 (v7l)
+      RAM (MB) = Belegt 313MB von 875MB
+      Speicher = Frei:  1.1T | Belegt: 2.6T | Gesamt: 3.6T
+    Temperatur = 41.3 °C
++++++++++++++++++: MY IP  :+++++++++++++++++++++++++++++++++++++
 | AA | 00.00.00.000 <-> 00-00-00-00.---------.com. |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
With RockPro64 I only know the command> "armbianmonitor -m". But the output is long and continuous. >
Code:
root@RockHomeServer:~# armbianmonitor -m
Stop monitoring using [ctrl]-[c]
Stop monitoring using [ctrl]-[c]
Time       big.LITTLE   load %cpu %sys %usr %nice %io %irq   CPU  C.St.

13:30:45:  408/1416MHz  0.08   2%   0%   1%   0%   0%   0% 39.4°C  1/3
13:30:50:  408/ 408MHz  0.07   2%   0%   1%   0%   0%   0% 38.8°C  1/3
13:30:55:  408/ 408MHz  0.06   1%   0%   1%   0%   0%   0% 38.8°C  0/3
13:31:00:  408/ 600MHz  0.06   1%   0%   1%   0%   0%   0% 38.1°C  0/3^C

I can not integrate that into the welcome message.
I do not get far with Google Search.
I'm not a noob but that's new to me.
Can you please tell me what I can use in my case? You had to do with it too?
Thank you very much!
Merry Charismas !


Messages In This Thread
RE: Tutorial:How to Configure ATS Fan control - by Neo2018 - 12-25-2018, 07:01 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)