This command reports the current situation of the LUA SCRIPT rerource:
[12:37:48] ABILIS_CPX:d d script
RES:Script --------------------------------------------------------------------
Lua_scripting_service
STATE:READY CUR-BG-SESNUM:1 MAX-BG-SESNUM:5
- SCRIPT Background sessions -------------------------------------------
SES File State Started Stopped
------------------------------------------------------------------------
0 restartdsl.lua STOP 2021-03-16 15:59:51 2021-03-16 16:03:51
------------------------------------------------------------------------
1 ephone-cd.lua RUN 2021-03-16 16:00:17 -
------------------------------------------------------------------------
2 STOP - -
------------------------------------------------------------------------
3 STOP - -
------------------------------------------------------------------------
4 STOP - -
------------------------------------------------------------------------The meaning:
STATEThe Lua Script driver state.
READY - driver is fully ready to
work.
INACTIVE - driver is disabled
(configuration parameter
ACT:NO).
CUR-BG-SESNUMNumber of connected sessions.
MAX-BG-SESNUMTotal number of sessions.
SESSession identifier.
FileScript name.
StateScript session state.
STOP - session is stopped;
STPG - session is stopping;
RUN - session is running.
StartedSession start time.
StoppedSession end time.
![]() | Note |
|---|---|
The end time is shown only for terminated scripts. |
This command can help to understand what is happening, in case of troubles:
[12:37:51] ABILIS_CPX:d s script
RES:Script --------------------------------------------------------------------
Lua_scripting_service
--- Cleared 0 days 21:27:19 ago, on 16/03/2021 at 15:10:38 -------------
START:6 STOP:5
- SCRIPT Background sessions -------------------------------------------
SES:0 START:5 STOP:5
------------------------------------------------------------------------
SES:1 START:1 STOP:0
------------------------------------------------------------------------
SES:2 START:0 STOP:0
------------------------------------------------------------------------
SES:3 START:0 STOP:0
------------------------------------------------------------------------
SES:4 START:0 STOP:0
------------------------------------------------------------------------With reference to the shown interval of time («Cleared 0 days 21:27:19 ago») these counters show the number of:
START | Number of session starts. |
STOP | Number of session ends. |
SES | Session identifier. |