MentDB, The digital brain.  About us Home
Back / All functions / Server

You have some functions to control the execution of the server.
To learn more about the version of the server, and see the AI ID card.

idai firstnameai lastnamename ai nameshutdownstopwaitversionexceeded sessionsreset exceeded sessions@exceeded sessions@reset exceeded sessionssrc countfunction countrefresh adminrefresh develrefresh configin editorin clipboardin out_editorin activityin scatterconfig reloadkillkill_process

id

Description

    To get the id of the server

admin
id
mentdb
WLMJ4JpIGAYY

ai firstname

Description

    To show the AI firstname

admin
ai firstname
mentdb
lisa

ai lastname

Description

    To show the AI lastname

admin
ai lastname
mentdb
payet

name

Synonymous

    ai name

Description

    To show the AI name

admin
name
mentdb
lisa payet

shutdown <identificationCode>

Description

    To stop the server (or stop)

Parameters

    identificationCode:   The identification code - string - required
admin
shutdown "ZVQNt8PJDt1h_"
mentdb
MentDB: Shutdown with successful.
Bye.

Disconnected.

stop <identificationCode>

Description

    To stop the server (or shutdown)

Parameters

    identificationCode:   The identification code - string - required
admin
stop "ZVQNt8PJDt1h_"
mentdb
MentDB: Shutdown with successful.
Bye.

Disconnected.

wait <time>

Description

    To force the server to wait

Parameters

    time:   The time in millisecond - string - required
admin
wait "10000"
mentdb
1

version

Description

    To show the version of the server

admin
version
mentdb
2.0.8

exceeded sessions

Description

    To show the number of exceeded sessions

admin
exceeded sessions
mentdb
0

reset exceeded sessions

Description

    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

admin
@exceeded sessions
mentdb
0

@reset exceeded sessions

Description

    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

admin
src count
mentdb
35679

function count

Description

    To count the number of MQL functions

admin
function count
mentdb
690

refresh admin

Description

    To refresh the tree admin in the editor

admin
refresh admin
mentdb
In editor ...

refresh devel <filter>

Description

    To refresh the tree devel in the editor

Parameters

    filter:   The string to search - string - required
admin
refresh devel "as400"
mentdb
In editor ...

refresh config

Description

    To refresh the tree config in the editor

admin
refresh config
mentdb
In editor ...

in editor

Description

    To refresh the tree in the editor

admin
in editor {script generate update "division"}
mentdb
...

in clipboard

Description

    To copy a string into the clipboard

admin
in clipboard {script generate update "division"}
mentdb
...

in out_editor

Description

    Show data into 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

admin
in activity {...}
mentdb
...

in scatter

Description

    Show the scatter for AP

admin
in scatter {...}
mentdb
...

config reload

Description

    To the config file

admin
config reload
mentdb
1

kill <sessionId>

Description

    To kill a session

Parameters

    sessionId:   The session id - string - required
admin
kill 23
mentdb
1

kill_process <pid>

Description

    To kill a process from the stack

Parameters

    pid:   The process id - string - required
admin
kill_process 23a
mentdb
The process will be stoped at the next MQL command ...




© 2012 - 2019 - Innov-AI.