I’m running OH 3.2 on a Pi4 and using the SystemInfo binding and having issues with the “process” items. All the those items are coming back UNDEF/Null.
I want to monitor the Java OpenHAB item specifically, but I’m getting nothing returned to those process items. As covered in the binding info, it talks about a PID below.
Channels from group ‘‘process’’ have additional configuration parameter - PID (Process identifier). This parameter is used as ‘deviceIndex’ and defines which process is tracked from the channel. This makes the channels from this groups very flexible - they can change its PID dynamically.
Parameter PID has a default value 0 - this is the PID of the System Idle process in Windows OS
I’m obviously not setting the items for “process” up correctly, I need a “PID” tied to it but the PID is ever changing after a restart.
Number Process_load "Process Load [%d %%]" (Group_HabPanel_Dashboard) { channel="systeminfo:computer:openhabian:process#load" }
Number Process_used "Process Used [%d] mb" { channel="systeminfo:computer:openhabian:process#used" }
String Process_name "Process Name [%s]" { channel="systeminfo:computer:openhabian:process#name" }
Number Process_threads "Process Threads [%d]" { channel="systeminfo:computer:openhabian:process#threads" }
String Process_path "Process Path [%s]" { channel="systeminfo:computer:openhabian:process#path" }
Here’s what I see from TOP on the Pi4 which is the PI I want to monitor.
If you are monitoring this PID in your system, can you post your items setup for me?
Best, Jay