elementary / monitor

Manage processes and monitor system resources.
GNU General Public License v3.0
321 stars 44 forks source link

Temp. CPU - NaN #368

Open sapeg opened 7 months ago

sapeg commented 7 months ago

Linux system 4.15.0-213-generic / 22.04-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux CPU: AMD Ryzen 5 (Matisse)

stsdc commented 7 months ago

Monitor is parsing /sys/class/hwmon/* here https://github.com/stsdc/monitor/blob/dev/src/Resources/Hwmon/HwmonPathsParser.vala

It is possible that temperature is on different path? can you check? It would be nice if you could propose a PR too, would help a lot :)

sapeg commented 7 months ago

There is only one: /sys/class/hwmon/hwmon023.02.2024, 15:12, "Stanisław" @.**>: Monitor is parsing /sys/class/hwmon/ here https://github.com/stsdc/monitor/blob/dev/src/Resources/Hwmon/HwmonPathsParser.vala It is possible that temperature is on different path? can you check? It would be nice if you could propose a PR too, would help a lot :)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***> -- С уважением, Павел Макарчук.

stsdc commented 7 months ago

obraz

Works for my Ryzen. Can you post logs? G_MESSAGES_DEBUG=all com.github.stsdc.monitor

sapeg commented 7 months ago

temp1_input - there is no such file. There is only a "name". Logs:

 (com.github.stsdc.monitor:30549): Gtk-DEBUG: 13:56:05.987: Connecting to session manager (com.github.stsdc.monitor:30549): DEBUG: 13:56:06.008: CPU.vala:51: Number of cores: 12 (com.github.stsdc.monitor:30549): DEBUG: 13:56:06.008: TemperatureSensor.vala:79: Found temp. sensor: asus (com.github.stsdc.monitor:30549): DEBUG: 13:56:06.027: ProcessUtils.vala:5: sh (com.github.stsdc.monitor:30549): DEBUG: 13:56:06.028: ProcessUtils.vala:5: sh (com.github.stsdc.monitor:30549): DEBUG: 13:56:06.075: DBusServer.vala:43: DBus registered! (com.github.stsdc.monitor:30549): DEBUG: 13:56:06.083: TreeViewModel.vala:34: add_running_processes (com.github.stsdc.monitor:30549): DEBUG: 13:56:06.084: TreeViewModel.vala:43: Add process 948 Parent PID: 1 (com.github.stsdc.monitor:30549): DEBUG: 13:56:06.084: TreeViewModel.vala:43: Add process 949 Parent PID: 948 ** (com.github.stsdc.monitor:30549): DEBUG: 13:56:06.084: TreeViewModel.vala:43: Add process 963 Parent PID: 948 etc.

(com.github.stsdc.monitor:30549): DEBUG: 13:57:58.664: TreeViewModel.vala:79: remove process 30510 from model (com.github.stsdc.monitor:30549): DEBUG: 14:01:32.683: TreeViewModel.vala:79: remove process 28995 from model

26.02.2024, 13:54, "Stanisław" @.***>: obraz.png (view on web) Works for my Ryzen. Can you post logs? G_MESSAGES_DEBUG=all com.github.stsdc.monitor

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***> -- С уважением, Павел Макарчук.

stsdc commented 7 months ago

What files do you have?

sapeg commented 7 months ago

device  fan1_input  fan1_label  name  power  pwm1_enable  subsystem  uevent  26.02.2024, 14:14, "Stanisław" @.***>: What files do you have?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***> -- С уважением, Павел Макарчук.

stsdc commented 7 months ago

Interesting. You have to figure out where temperature data are stored for your system.