I want to monitor my current system wide CPU usage (average of cores) within TD, so without using the Task Manager. Using Windows 10.
The “Perform CHOP” doesn’t support this unfortunately.
I tried to use
psutil.cpu_percent(interval=0.0), and call it with an Execute DAT on value change, triggering it every second.
But the results I get are far below (about half) what the Windows Task Manager is showing me.
Also I get varying results depending on the interval I call the function.
Any suggestions, alternative ways?
Maybe something TD native ideally?