Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Root shell

help

...

The help method is one of the most usefull method to get you started. Without any parameters, the command will display the list of available commands.
You can also access the help from a subshell by launching help osgi for example, or osgi help.
You can access the help from a command by launching help clear or for a sub-shell command: help osgi help /list or help osgi/list --help.

An alias ? has been defined for convenience.

exit

If ran inside a sub-shell, the sub-shell will be terminated and the console will be back to its previous shell. If ran from the root shell, ServiceMix Runtime from the local console, ServiceMix Kernel will be stopped. If ran from a remote console, the remote shell will be terminated, but the ServiceMix Runtime Kernel remote instance will not be terminated.

..

When inside a subshell, the .. command will exit this subshell and go back to the parent shell.

For example:

Code Block

smx@root:/> log
smx@root:log> help
Available commands:
  display            Display log entries.
  display-exception  Display the last exception from the log.
  get                Show log level.
  set                Set log level.
  d                  Link to: log/display
  de                 Link to: log/display-exception
smx@root:log> ..
smx@root:/> 
Warning
Inconsistent behaviorInconsistent behaviorThe behavior between the exit command between a local and remote shell is inconsistent and may need to be changed.

info

This command displays a bunch of information relative to the ServiceMix Kernel and the JVM. These informations are also available from the JMX console included in the JRE.

...