OSGJ:Equinox for Eclipse(Luna) 命令
launch - start the OSGi Frameworkshutdown - shutdown the OSGi Frameworkclose - shutdown and exitexit - exit immediately (System.exit)init - uninstall all bundlessetprop <key>=<value> - set the OSGi property
---Controlling Bundles---install - install and optionally start bundle from the given URLuninstall - uninstall the specified bundle(s)start - start the specified bundle(s)stop - stop the specified bundle(s)refresh - refresh the packages of the specified bundlesupdate - update the specified bundle(s)
---Displaying Status---status [-s [<comma separated list of bundle states>] [<segment of bsn>]] - display installed bundles and registered servicesss [-s [<comma separated list of bundle states>] [<segment of bsn>]] - display installed bundles (short status)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 is a shortcut for (objectClass=com.xyz.Person). The filter syntax specification is available atpackages [<pkgname>|<id>|<location>] - display imported/exported package detailsbundles [-s [<comma separated list of bundle states>] [<segment of bsn>]] - display details for all installed bundlesbundle (<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 waitfork <command> - execute a command in a separate processgc - perform a garbage collectiongetprop [ name ] - displays the system properties with the given name, or all of them.props - Display system propertiesthreads - 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 specifiedsetfwsl <start level> - set the framework start levelsetbsl <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 outputdisconnect - Disconnects from telnet sessionhelp <commmand> - Display help for the specified command