Logic Machine Forum
running scripts in the background - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: running scripts in the background (/showthread.php?tid=4063)



running scripts in the background - Dré - 27.05.2022

Is it possible to see what scripts are running and how many times?
I had scripts running with
Code:
repeat
until

I want to have more view how many times it is running, to see if i have to change my work process.

cpu: 0.00 0.02 0.00
Mem: 21%
Disk: 81%


RE: running scripts in the background - Daniel - 27.05.2022

Repeat-until loop does not create many scripts, it is still single PID process. If you want to see all processes use System load app and in there you will see all. Including all running scripts.
If you want to know how many times your loop did run then add some log in it or a counter and then log result.


RE: running scripts in the background - Dré - 27.05.2022

Thanks Daniel,

Well at my installation, i used the commend repeat-until with a motion detection.
Thats why i think the script run multiple times.

about the app, i dont see it in the appstore, i have a Wiser, can i download that app or can you share it?


RE: running scripts in the background - Daniel - 27.05.2022

For wiser there is Process app, it is not as good as System load but would do.


RE: running scripts in the background - Dré - 27.05.2022

Oké thanks