Some of the fragmented knowledge of OSGi
The following command explains the content from Eclipse's OSGi framework equinox.
---Controlling the OSGi framework---
Launch-start the OSGi Framework
Shutdown-shutdown the OSGi Framework
Close-shutdown and exit
Exit-exit immediately (System.exit)
Init-uninstall All Bundles
SetProp <key>=<value>-Set the OSGi property
---controlling Bundles---
Install-install and optionally start bundle from the given URL
Uninstall-uninstall the specified bundle (s)
Start-start the specified bundle (s)
Stop-stop the specified bundle (s)
Refresh-refresh the packages of the specified bundles
Update-update the specified bundle (s)
---Displaying Status---
status [-S [<comma separated list of bundle states>] [<segment of Bsn>]-Display installed bundles and Regi Stered Services
SS [-S [<comma separated list of bundle states>] [<segment of Bsn>]-Display installed bundles (short Statu S
services [Filter]-Display registered service details. Examples for [filter]: (Objectclass=com.xyz.person); (& (Objectclass=com.xyz.person) (| ( Sn=jensen) (Cn=babs j*)); Passing only Com.xyz.Person are a shortcut for (Objectclass=com.xyz.person). The filter syntax specification is available athttp://www.ietf.org/rfc/rfc1960.txt
packages [<pkgname>|<id>|<location>]-Display imported/exported package details
bundles [-S [<comma separated list of bundles states>] [<segment of Bsn>]-display details for all installed Bundles
Bundle (<id>|<location>)-display details for the specified bundle (s)
Headers (<id>|<location>)-Print bundle headers
---Extras---
EXEC <command>-Execute a command in a separate process and wait
Fork <command>-Execute a command in a separate process
Gc-perform a garbage collection
Getprop [Name]-Displays the system properties with the given name, or all of them.
Props-display System Properties
Threads-display Threads and Thread groups
---controlling Start level---
SL [<id>|<location>]-Display the start level for the specified bundle, or for the framework if no bundle SPE Cified
SETFWSL <start level>-Set the framework start level
SETBSL <start level> (<id>|<location>)-Set the start level for the bundle (s)
SETIBSL <start level>-Set the initial bundle start level
---controlling the Profiling---
Profilelog-display & Flush the profile log messages
---Eclipse Runtime commands---
Diag-displays unsatisfied constraints for the specified bundle (s).
Enablebundle-enable the specified bundle (s)
Disablebundle-disable the specified bundle (s)
Disabledbundles-list disabled bundles in the system
---controlling the Console---
More-more Prompt for console output
Disconnect-disconnects from Telnet session
Help <commmand>-Display Help for the specified command