FX - Server @ Server @ MentDB Weak
Server
idai firstnameai lastnamename ai nameshutdownstopwaitmaintenance getmaintenance setversionexceeded sessionsreset exceeded sessions@exceeded sessions@reset exceeded sessionssrc countfunction countrefresh adminrefresh develrefresh configin editorin clipboardin out_editorin activityin scatterconfig reloadconfig showconfig setconfig certkillkill_process
id
Description
To get the id of the server
To get the id of the server
admin
id
mentdb
WLMJ4JpIGAYY
ai firstname
Description
To show the AI first name
To show the AI first name
admin
ai firstname
mentdb
lisa
ai lastname
Description
To show the AI last name
To show the AI last name
admin
ai lastname
mentdb
payet
name
Synonymous
ai name
ai name
Description
To show the AI name
To show the AI name
admin
name
mentdb
lisa payet
shutdown <serverName>
Description
To stop the server (or stop)
To stop the server (or stop)
Parameters
serverName: The server name - string - required
serverName: The server name - string - required
admin
shutdown "server_A"
mentdb
MentDB: Shutdown with successful. Bye. Disconnected.
stop <serverName>
Description
To stop the server (or shutdown)
To stop the server (or shutdown)
Parameters
serverName: The server name - string - required
serverName: The server name - string - required
admin
stop "server_A"
mentdb
MentDB: Shutdown with successful. Bye. Disconnected.
wait <time>
Description
To force the server to wait
To force the server to wait
Parameters
time: The time in milliseconds - string - required
time: The time in milliseconds - string - required
admin
wait "10000";
mentdb
1
maintenance get <time>
Description
To get the maintenance statuses
To get the maintenance statuses
Parameters
time: The time in milliseconds - string - required
time: The time in milliseconds - string - required
admin
maintenance get;
mentdb
1
maintenance set <mql_door> <ws_door> <web_door> <job_door> <stack_door>
Description
To set the maintenance statuses
To set the maintenance statuses
Parameters
mql_door: The MQL door - boolean - required
ws_door: The WS door - boolean - required
web_door: The WEB door - boolean - required
job_door: The JOB door - boolean - required
stack_door: The STACK door - boolean - required
mql_door: The MQL door - boolean - required
ws_door: The WS door - boolean - required
web_door: The WEB door - boolean - required
job_door: The JOB door - boolean - required
stack_door: The STACK door - boolean - required
admin
maintenance set 0 0 0 0 0;
mentdb
1
version
Description
To show the version of the server
To show the version of the server
admin
version
mentdb
4.2.2
exceeded sessions
Description
To show the number of exceeded sessions
To show the number of exceeded sessions
admin
exceeded sessions
mentdb
0
reset exceeded sessions
Description
To reset the number of exceeded sessions
To reset the number of exceeded sessions
admin
reset exceeded sessions;
mentdb
Exceeded sessions has been reset successfully.
@exceeded sessions
Description
To show the number of exceeded web socket sessions
To show the number of exceeded web socket sessions
admin
@exceeded sessions
mentdb
0
@reset exceeded sessions
Description
To reset the number of exceeded web socket sessions
To reset the number of exceeded web socket sessions
admin
@reset exceeded sessions;
mentdb
Exceeded sessions has been reset successfully.
src count
Description
To count the number of Java lines
To count the number of Java lines
admin
src count
mentdb
35679
function count
Description
To count the number of MQL functions
To count the number of MQL functions
admin
function count
mentdb
690
refresh admin
Description
To refresh the admin tree in the editor
To refresh the admin tree in the editor
admin
refresh admin
mentdb
In editor ...
refresh devel <filter>
Description
To refresh the devel tree in the editor
To refresh the devel tree in the editor
Parameters
filter: The string to search - string - required
filter: The string to search - string - required
admin
refresh devel "as400"
mentdb
In editor ...
refresh config
Description
To refresh the config tree in the editor
To refresh the config tree in the editor
admin
refresh config
mentdb
In editor ...
in editor
Description
To refresh the tree in the editor
To refresh the tree in the editor
admin
in editor {file load "home/file.txt"};
mentdb
...
in clipboard
Description
To copy a string to the clipboard
To copy a string to the clipboard
admin
in clipboard {script generate update "division"};
mentdb
...
in out_editor
Description
Show data in the editor
Show data in the editor
admin
in out_editor { sql show data "demo_db_mysql" "SELECT * FROM products LIMIT 0, 200"; }
mentdb
...
in activity
Description
Show the line process
Show the line process
admin
in activity {...};
mentdb
...
in scatter
Description
Show the scatter plot for PA
Show the scatter plot for PA
admin
in scatter {...};
mentdb
...
config reload
Description
To show the config file
To show the config file
admin
config reload;
mentdb
1
config show
Description
To show the keys of conf/server.conf (section, key, value, comment, secret, editable, reload: applied by config reload, else a restart is needed). The secret values are masked. Reserved to the sys group.
To show the keys of conf/server.conf (section, key, value, comment, secret, editable, reload: applied by config reload, else a restart is needed). The secret values are masked. Reserved to the sys group.
admin
config show
mentdb
[ { "section": "LOG", "key": "RETENTION_DAYS", "value": "50", "comment": "The retention in days [integer]", "secret": "0", "editable": "1", "reload": "1" } ]
config set <section> <key> <value>
Description
To change a key of conf/server.conf, the comments and the layout of the file are kept. The secret keys and the section ADMIN cannot be changed. Then execute config reload or restart the server (see config show). Reserved to the sys group.
To change a key of conf/server.conf, the comments and the layout of the file are kept. The secret keys and the section ADMIN cannot be changed. Then execute config reload or restart the server (see config show). Reserved to the sys group.
Parameters
section: The section - string - required
key: The key - string - required
value: The value - string - required
section: The section - string - required
key: The key - string - required
value: The value - string - required
admin
config set "LOG" "RETENTION_DAYS" "60";
mentdb
1
config cert
Description
To show the certificates of the server (cert/ca_cert.pem and cert/cu_cert.pem): subject, issuer, validity and days left. Reserved to the sys group.
To show the certificates of the server (cert/ca_cert.pem and cert/cu_cert.pem): subject, issuer, validity and days left. Reserved to the sys group.
admin
config cert
mentdb
[ { "file": "cert/cu_cert.pem", "subject": "CN=127.0.0.1", "not_after": "2031-10-29 10:00:00", "days_left": "1825" } ]
kill <sessionId>
Description
To kill a session
To kill a session
Parameters
sessionId: The session id - string - required
sessionId: The session id - string - required
admin
kill 23
mentdb
1
kill_process <pid>
Description
To kill a process from the stack
To kill a process from the stack
Parameters
pid: The process id - string - required
pid: The process id - string - required
admin
kill_process 23a;
mentdb
The process will be stoped at the next MQL command ...
