Commands
Generic and supporting
cd
Syntax: cd <context_path>
Change the context to specific relative or absolute <context_path>
.
Argument | Information |
---|---|
<context_path> |
Relative or absolute context path for object. |
Examples:
admin@/jlupin/zone/zone1/node1> cd ../node1/mic1
display
Syntax: display [csv|json|plain_text|xml]
Change display or show current state.
Argument | Information |
---|---|
[csv|json|plain_text|xml] |
Display type. |
Examples:
admin@/jlupin/zone/zone1/node1> display json
echo
Syntax: echo [on|off]
Change echo mode (on|off) or show current state.
Argument | Information |
---|---|
[on|off] |
Enable/disable echo mode. |
Examples:
admin@/jlupin/zone/zone1/node1> echo on
exit
Syntax: exit
Quit console.
Examples:
admin@/jlupin/zone/zone1/node1> exit
goto
Syntax: goto <context_path>
Change the context to specific relative or absolute <context_path>
.
Argument | Information |
---|---|
<context_path> |
Relative or absolute context path for object. |
Examples:
admin@/jlupin/zone/zone1/node1> goto ../node1/mic1
grep
Syntax: grep <regexp>
Filter results.
Argument | Information |
---|---|
<regexp> |
Regular expression to check against lines. |
Examples:
admin@/jlupin/zone/zone1/node1> microservice list | grep mic2
header
Syntax: header [on|off]
Change header (on|off) or show current state.
Argument | Information |
---|---|
[on|off] |
Enable/disable header. |
Examples:
admin@/jlupin/zone/zone1/node1> header on
help
Syntax: help [<command>] [...]
Shows help for all or given (<command>
) command.
Argument | Information |
---|---|
Examples:
admin@/jlupin/zone/zone1/node1> help
interactive
Syntax: interactive [on|off]
Change interactive mode (on|off) or show current state.
Argument | Information |
---|---|
[on|off] |
Enable/disable interactive mode. |
Examples:
admin@/jlupin/zone/zone1/node1> interactive on
list
Syntax: list
List objects in the current menu position (context).
Examples:
admin@/jlupin/zone/zone1/node1> list
login
Syntax: login [<username>]
Login as different user.
Argument | Information |
---|---|
[<username>] |
Username. |
Examples:
admin@/jlupin/zone/zone1/node1> login admin
ls
Syntax: ls
List objects in the current menu position (context).
Examples:
admin@/jlupin/zone/zone1/node1> ls
passwd
Syntax: passwd
Change your password.
Examples:
admin@/jlupin/zone/zone1/node1> passwd
quit
Syntax: quit
Quit console.
Examples:
admin@/jlupin/zone/zone1/node1> quit
set
Syntax: set <attribute> to <value> [<context_path>]
Set <attribute>
to <value>
for the current of given (<context_path>
) object.
Argument | Information |
---|---|
<attribute> |
Attribute name. |
<value> |
Value. |
[<context_path>] |
Relative or absolute context path for object. |
Examples:
admin@/jlupin/zone/zone1/node1> set CONFIGURATION:SERVERS:JLRMC_BINARY:readTimeout to 480000
show
Syntax: show [all|brief|<attribute>] [<context_path>]
List object's attributes (all, selected in configuration or specified by <attribute>
parameter) located in the current or given <context_path>
.
Argument | Information |
---|---|
[all|brief|<attribute>] |
All, brief or attribute name. |
[<context_path>] |
Relative or absolute context path for object. |
Examples:
admin@/jlupin/zone/zone1/node1> show brief
sleep
Syntax: sleep <seconds>
Sleep for <seconds>
seconds.
Argument | Information |
---|---|
<seconds> |
Number of seconds to sleep. |
Examples:
admin@/jlupin/zone/zone1/node1> sleep 5
verbose
Syntax: verbose [on|off]
Change verbose mode (on|off) or show current state.
Argument | Information |
---|---|
[on|off] |
Enable/disable verbose mode. |
Examples:
admin@/jlupin/zone/zone1/node1> verbose on
version
Syntax: version
Show control version.
Examples:
admin@/jlupin/zone/zone1/node1> version