Chapter 21. shell
21.1. shell:completion Copy linkLink copied to clipboard!
21.1.1. Description Copy linkLink copied to clipboard!
Display or change the completion mode on the current console session.
21.1.2. Syntax Copy linkLink copied to clipboard!
shell:completion [options] [mode]
21.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
mode | The completion mode to set. The valid completion modes are: global, first, subshell. |
21.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.2. shell:exec Copy linkLink copied to clipboard!
21.2.1. Description Copy linkLink copied to clipboard!
Executes system processes.
21.2.2. Syntax Copy linkLink copied to clipboard!
shell:exec [options] command
21.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
command | Execution command with arguments |
21.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.3. shell:info Copy linkLink copied to clipboard!
21.3.1. Description Copy linkLink copied to clipboard!
Prints system information.
21.3.2. Syntax Copy linkLink copied to clipboard!
shell:info [options]
21.3.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--memory-pools, -mp | Includes detailed information about memory pools |
21.4. shell:java Copy linkLink copied to clipboard!
21.4.1. Description Copy linkLink copied to clipboard!
Executes a Java standard application.
21.4.2. Syntax Copy linkLink copied to clipboard!
shell:java [options] className [arguments]
21.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
className | The name of the class to invoke |
arguments | Arguments to pass to the method of the given class |
21.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-m, --method | Invoke a named method |
21.5. shell:logout Copy linkLink copied to clipboard!
21.5.1. Description Copy linkLink copied to clipboard!
Disconnects shell from current session.
21.5.2. Syntax Copy linkLink copied to clipboard!
shell:logout [options]
21.5.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.6. shell:printf Copy linkLink copied to clipboard!
21.6.1. Description Copy linkLink copied to clipboard!
Formats and prints arguments.
21.6.2. Syntax Copy linkLink copied to clipboard!
shell:printf [options] format arguments
21.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
format | The format pattern to use |
arguments | The arguments for the given format pattern |
21.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.7. shell:source Copy linkLink copied to clipboard!
21.7.1. Description Copy linkLink copied to clipboard!
Run a script
21.7.2. Syntax Copy linkLink copied to clipboard!
shell:source [options] script [args]
21.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
script | A URI pointing to the script |
args | Arguments for the script |
21.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.8. shell:stack-traces-print Copy linkLink copied to clipboard!
21.8.1. Description Copy linkLink copied to clipboard!
Prints the full stack trace in the console when the execution of a command throws an exception.
21.8.2. Syntax Copy linkLink copied to clipboard!
shell:stack-traces-print [options] [print]
21.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
| Print stack traces or not (defaults to true) |
21.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.9. shell:threads Copy linkLink copied to clipboard!
21.9.1. Description Copy linkLink copied to clipboard!
Prints the current threads (optionally with stacktraces)
21.9.2. Syntax Copy linkLink copied to clipboard!
shell:threads [options] [id]
21.9.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | Show details for thread with this Id |
21.9.4. Options Copy linkLink copied to clipboard!
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 |
21.10. shell:ttop Copy linkLink copied to clipboard!
21.10.1. Description Copy linkLink copied to clipboard!
Display threads information
21.10.2. Syntax Copy linkLink copied to clipboard!
shell:ttop [options]
21.10.3. Options Copy linkLink copied to clipboard!
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 |
21.11. shell:watch Copy linkLink copied to clipboard!
21.11.1. Description Copy linkLink copied to clipboard!
Watches & refreshes the output of a command
21.11.2. Syntax Copy linkLink copied to clipboard!
shell:watch [options] command
21.11.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
command | The command to watch / refresh |
21.11.4. Options Copy linkLink copied to clipboard!
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 |