Open aleksandarpu opened 2 months ago
armbianmonitor is not present on Ubuntu server Linux use sensors application instead
Ubuntu has sensors application which with 'sensors -j' returns JSON file with SoC temperatures
Parse sensors -j output which is in the form: { "cpu_thermal-virtual-0":{ "Adapter": "Virtual device", "temp1":{ "temp1_input": 48.986, "temp1_crit": 100.000 } }, "gpu_thermal-virtual-0":{ "Adapter": "Virtual device", "temp1":{ "temp1_input": 49.634, "temp1_crit": 100.000 } }, "ddr_thermal-virtual-0":{ "Adapter": "Virtual device", "temp1":{ "temp1_input": 50.039 } }, "ve_thermal-virtual-0":{ "Adapter": "Virtual device", "temp1":{ "temp1_input": 48.581 } } }
1. 2. 3. 4.
armbianmonitor is not present on Ubuntu server Linux use sensors application instead
Expected Behavior
Ubuntu has sensors application which with 'sensors -j' returns JSON file with SoC temperatures
Current Behavior
Possible Solution
Parse sensors -j output which is in the form: { "cpu_thermal-virtual-0":{ "Adapter": "Virtual device", "temp1":{ "temp1_input": 48.986, "temp1_crit": 100.000 } }, "gpu_thermal-virtual-0":{ "Adapter": "Virtual device", "temp1":{ "temp1_input": 49.634, "temp1_crit": 100.000 } }, "ddr_thermal-virtual-0":{ "Adapter": "Virtual device", "temp1":{ "temp1_input": 50.039 } }, "ve_thermal-virtual-0":{ "Adapter": "Virtual device", "temp1":{ "temp1_input": 48.581 } } }
Steps to Reproduce (for bugs)
1. 2. 3. 4.
Context
Your Environment