Chapter 20. shell
20.1. shell:completion
20.1.1. Description
Display or change the completion mode on the current console session.
20.1.2. Syntax
shell:completion [options] [mode]
20.1.3. Arguments
Name | Description |
---|---|
mode | The completion mode to set. The valid completion modes are: global, first, subshell. |
20.1.4. Options
Name | Description |
---|---|
--help | Display this help message |
20.2. shell:exec
20.2.1. Description
Executes system processes.
20.2.2. Syntax
shell:exec [options] command
20.2.3. Arguments
Name | Description |
---|---|
command | Execution command with arguments |
20.2.4. Options
Name | Description |
---|---|
--help | Display this help message |
20.3. shell:info
20.3.1. Description
Prints system information.
20.3.2. Syntax
shell:info [options]
20.3.3. Options
Name | Description |
---|---|
--help | Display this help message |
--memory-pools, -mp | Includes detailed information about memory pools |
20.4. shell:java
20.4.1. Description
Executes a Java standard application.
20.4.2. Syntax
shell:java [options] className [arguments]
20.4.3. Arguments
Name | Description |
---|---|
className | The name of the class to invoke |
arguments | Arguments to pass to the method of the given class |
20.4.4. Options
Name | Description |
---|---|
--help | Display this help message |
-m, --method | Invoke a named method |
20.5. shell:logout
20.5.1. Description
Disconnects shell from current session.
20.5.2. Syntax
shell:logout [options]
20.5.3. Options
Name | Description |
---|---|
--help | Display this help message |
20.6. shell:printf
20.6.1. Description
Formats and prints arguments.
20.6.2. Syntax
shell:printf [options] format arguments
20.6.3. Arguments
Name | Description |
---|---|
format | The format pattern to use |
arguments | The arguments for the given format pattern |
20.6.4. Options
Name | Description |
---|---|
--help | Display this help message |
20.7. shell:source
20.7.1. Description
Run a script
20.7.2. Syntax
shell:source [options] script [args]
20.7.3. Arguments
Name | Description |
---|---|
script | A URI pointing to the script |
args | Arguments for the script |
20.7.4. Options
Name | Description |
---|---|
--help | Display this help message |
20.8. shell:stack-traces-print
20.8.1. Description
Prints the full stack trace in the console when the execution of a command throws an exception.
20.8.2. Syntax
shell:stack-traces-print [options] [print]
20.8.3. Arguments
Name | Description |
---|---|
| Print stack traces or not (defaults to true) |
20.8.4. Options
Name | Description |
---|---|
--help | Display this help message |
20.9. shell:threads
20.9.1. Description
Prints the current threads (optionally with stacktraces)
20.9.2. Syntax
shell:threads [options] [id]
20.9.3. Arguments
Name | Description |
---|---|
id | Show details for thread with this Id |
20.9.4. Options
Name | Description |
---|---|
--tree | Display threads as a tree |
--list | Display threads as a list |
-e, --empty-groups | Show empty groups |
--packages | Pruned packages |
--help | Display this help message |
--monitors | Display monitors |
-t, --threshold | Minimal number of interesting stack trace line to display a thread |
--locks | Display locks |
--no-format | Disable table rendered output |
20.10. shell:ttop
20.10.1. Description
Display threads information
20.10.2. Syntax
shell:ttop [options]
20.10.3. Options
Name | Description |
---|---|
--seconds, -s | Delay between updates in seconds |
--order, -o | Comma separated list of sorting keys |
--millis, -m | Delay between updates in milliseconds |
--nthreads, -n | Only display up to NTHREADS threads |
--help | Display this help message |
--stats, -t | Comma separated list of stats to display |
20.11. shell:watch
20.11.1. Description
Watches & refreshes the output of a command
20.11.2. Syntax
shell:watch [options] command
20.11.3. Arguments
Name | Description |
---|---|
command | The command to watch / refresh |
20.11.4. Options
Name | Description |
---|---|
--help | Display this help message |
-n, --interval | The interval between executions of the command in seconds |
-a, --append | The output should be appended but not clear the console |