OS
os versionos archos nameos typeos hostnameos user_timezoneos user_nameos user_langos user_homeos user_diros execute
os version
Description
To get the OS version
To get the OS version
admin
os version
mentdb
10.12.6
os arch
Description
To get the OS architecture
To get the OS architecture
admin
os arch
mentdb
x86_64
os name
Description
To get the OS name
To get the OS name
admin
os name
mentdb
Mac OS X
os type
Description
To get the OS type
To get the OS type
admin
os type
mentdb
Mac OS X
os hostname
Description
To get the OS hostname
To get the OS hostname
admin
os hostname
mentdb
MacBook-Pro-de-Jimmitry.local
os user_timezone
Description
To get the OS user time zone
To get the OS user time zone
admin
os user_timezone
mentdb
Indian/Reunion
os user_name
Description
To get the OS user name
To get the OS user name
admin
os user_name
mentdb
jimmitry
os user_lang
Description
To get the OS user language
To get the OS user language
admin
os user_lang
mentdb
fr
os user_home
Description
To get the OS user home directory
To get the OS user home directory
admin
os user_home
mentdb
/Users/jimmitry
os user_dir
Description
To get the OS user directory
To get the OS user directory
admin
os user_dir
mentdb
/Users/jimmitry/Documents/jpayet/INNOV-AI/MENTDB/MentDB_Server
os execute <jsonCmdArray> <minWait>
Description
To execute an OS command
To execute an OS command
Parameters
jsonCmdArray: The JSON command array - string - required
minWait: The minimum wait time to get the result - number - required
jsonCmdArray: The JSON command array - string - required
minWait: The minimum wait time to get the result - number - required
admin
os execute "[\"uname\", \"-a\"]" 1000;
mentdb
Darwin MacBook-Pro-de-Jimmitry.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
