This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

get scriptname from PID
#1
I see in my processes app that process 992 uses lot of resources.

In the system config i see: 992 lua /lib/genohm-scada/core/scripting-resident.lua 72

But how i know what resident script this is?
Reply
#2
(09.02.2018, 10:29)gjniewenhuijse Wrote: I see in my processes app that process 992 uses lot of resources.

In the system config i see: 992 lua /lib/genohm-scada/core/scripting-resident.lua 72

But how i know what resident script this is?

Hi
You can run this in the script to get it's PID nr

Code:
pid = os.getpid()
------------------------------
Ctrl+F5
Reply
#3
72 is script id, editor URL is http://LM_IP/scada-main/main/editor?id=72
Reply
#4
thanks
Reply


Forum Jump: