OSGI:osgi命令(备查)
osgi> help
close - shutdown and exit
scope: equinoxtac
scope: gogo
parameters:
String[]start - start the specified bundle(s)
scope: equinox
parameters:
Bundle[] bundle(s) to startdiag - Displays unsatisfied constraints for the specified bundle(s)
scope: equinox
parameters:
Bundle[] IDs of bundle(s), for which to display unsatisfied constraintsresolve - resolve bundles
scope: felix
parameters:
Bundle[] target bundles (can be null or empty)shutdown - shutdown the OSGi Framework
scope: equinoxgc - perform a garbage collection
scope: equinoxls - get specified path contents
scope: felix
parameters:
String path with optionally wildcarded file namels - get current directory contents
scope: felixsl - display the start level for the specified bundle, or for the framework if no bundle specified
scope: equinox
parameters:
Bundle[] bundle to get the start levelsetbsl - set the start level for the bundle(s)
scope: equinox
parameters:
int new start level
Bundle[] bundle(s) to change startlevelprofilelog - Display & flush the profile log messages
scope: equinoxframeworklevel - query framework active start level
scope: felixframeworklevel - set framework active start level
scope: felix
parameters:
int target start levelecho
scope: gogo
parameters:
Object[]se - display registered service details. Examples for [filter]: (objectClass=com.xyz.Person); (&(objectClass=com.xyz.Person)(sn=Jensen)); passing only com.xyz.Person is a shortcut for (objectClass=com.xyz.Person). The filter syntax specification is available at http://www.ietf.org/rfc/rfc1960.txt
scope: equinox
parameters:
String[] Optional filter for filtering the displayed services. Examples for the filter: (objectClass=com.xyz.Person); (&(objectClass=com.xyz.Person)(sn=Jensen)); passing only com.xyz.Person is a shortcut for (objectClass=com.xyz.Person). The filter syntax specification is available at http://www.ietf.org/rfc/rfc1960.txtstop - stop bundles
scope: felix
flags:
-t, —transient stop bundle transiently
parameters:
Bundle[] target bundlestelnet - start/stop a telnet server
scope: equinox
parameters:
String[]sto - stop the specified bundle(s)
scope: equinox
parameters:
Bundle[] bundle(s) to stopinstall - install and optionally start bundle from the given URL
scope: equinox
flags:
-start specify if the bundle should be started after installation
parameters:
String Location of bundle to installman
scope: equinox
parameters:
String[]fork - execute a command in a separate process
scope: equinox
parameters:
String command to be executedstatus - display installed bundles and registered services
scope: equinox
parameters:
String[] [-s] [segment of bsn] start - start bundles
scope: felix
flags:
-p, —policy use declared activation policy
-t, —transient start bundle transiently
parameters:
String[] target bundle identifiers or URLshelp - displays available commands
scope: felixhelp - displays information about a specific command
scope: felix
parameters:
String target commandsetprop - set OSGi properties
scope: equinox
parameters:
String[] list of properties with values to be set; the format is= and the pairs are separated with space if more than one setfwsl - set the framework start level
scope: equinox
parameters:
int new start levelgetprop - displays the system properties with the given name, or all of them
scope: equinox
parameters:
String[] name of system property to dispalyss - display installed bundles (short status)
scope: equinox
parameters:
String[] [-s] [segment of bsn] help
scope: equinox
parameters:
String[]b - display details for the specified bundle(s)
scope: equinox
parameters:
Bundle[] (| ) install - install bundle using URLs
scope: felix
parameters:
String[] target URLsuninstall - uninstall the specified bundle(s)
scope: equinox
parameters:
Bundle[] bundle(s) to uninstalltype
scope: gogo
parameters:
String[]setp - set OSGi properties
scope: equinox
parameters:
String[] list of properties with values to be set; the format is= and the pairs are separated with space if more than one inspect - inspects bundle capabilities and requirements
scope: felix
parameters:
String (‘capability’ | ‘requirement’)
String (| ‘service’)
Bundle[] target bundlesgetopt
scope: gogo
parameters:
List
Object[]bundles - display details for all installed bundles
scope: equinox
parameters:
String[] [-s] [segment of bsn] gosh
scope: gogo
parameters:
String[]bundlelevel - query bundle start level
scope: felix
parameters:
Bundle bundle to querybundlelevel - set bundle start level or initial bundle start level
scope: felix
flags:
-i, —setinitial set the initial bundle start level
-s, —setlevel set the bundle’s start level
parameters:
int target level
Bundle[] target identifiersp - display imported/exported package details
scope: equinox
parameters:
Bundle[] Bundle whose packages to display. If not present displays all exported packagesp - display imported/exported package details
scope: equinox
parameters:
String Package name of the package to displayupdate - update bundle
scope: felix
parameters:
Bundle target bundleupdate - update bundle from URL
scope: felix
parameters:
Bundle target bundle
String URL from where to retrieve bundlenot
scope: gogo
parameters:
Functionservices - display registered service details. Examples for [filter]: (objectClass=com.xyz.Person); (&(objectClass=com.xyz.Person)(sn=Jensen)); passing only com.xyz.Person is a shortcut for (objectClass=com.xyz.Person). The filter syntax specification is available at http://www.ietf.org/rfc/rfc1960.txt
scope: equinox
parameters:
String[] Optional filter for filtering the displayed services. Examples for the filter: (objectClass=com.xyz.Person); (&(objectClass=com.xyz.Person)(sn=Jensen)); passing only com.xyz.Person is a shortcut for (objectClass=com.xyz.Person). The filter syntax specification is available at http://www.ietf.org/rfc/rfc1960.txtprops - Display system properties
scope: equinoxr - refresh the packages of the specified bundles; if -all option is specified refresh packages of all installed bundles
scope: equinox
flags:
-all specify to refresh the packages of all installed bundles
parameters:
Bundle[] list of bundles whose packages to be refreshed; if not present refreshes all bundlessource
scope: gogo
parameters:
Stringexit - exit immediately (System.exit)
scope: equinoxcd - change current directory
scope: felix
parameters:
String target directorycd - get current directory
scope: felixupdate - update the specified bundle(s)
scope: equinox
parameters:
Bundle[] bundle(s) to updateupdate - Update the specified bundle from the specified location
scope: equinox
parameters:
Bundle Bundle to update
URL Location of the new bundle contenth - print bundle headers
scope: equinox
parameters:
Bundle[] bundles to print headers fori - install and optionally start bundle from the given URL
scope: equinox
flags:
-start specify if the bundle should be started after installation
parameters:
String Location of bundle to installpr - Display system properties
scope: equinoxcat
scope: gogo
parameters:
String[]getPackages - lists all packages visible from the specified bundle
scope: equinox
parameters:
Bundle bundle to list the visible packagesset
scope: gogo
parameters:
String[]up - Update the specified bundle from the specified location
scope: equinox
parameters:
Bundle Bundle to update
URL Location of the new bundle contentup - update the specified bundle(s)
scope: equinox
parameters:
Bundle[] bundle(s) to updateun - uninstall the specified bundle(s)
scope: equinox
parameters:
Bundle[] bundle(s) to uninstallsh
scope: gogo
parameters:
String[]requiredBundles - lists required bundles having the specified symbolic name
scope: equinox
parameters:
String[] symbolic name for required bundles to be listed; if not specified all required bundles will be listedgrep
scope: gogo
parameters:
String[]log - display some matching log entries
scope: felix
parameters:
int maximum number of entries
String minimum log level [ debug | info | warn | error ]log - display all matching log entries
scope: felix
parameters:
String minimum log level [ debug | info | warn | error ]s - display installed bundles and registered services
scope: equinox
parameters:
String[] [-s] [segment of bsn] t - stop the named thread with an IllegalStateException
scope: equinox
parameters:
String stop
String the thread on which to perform the actiont - display threads and thread groups
scope: equinoxt - stop the named thread with the provided throwable
scope: equinox
parameters:
String stop
String the thread on which to perform the action
Class the class of the throwable to throw (default = java.lang.IllegalStateException)disconnect
scope: equinoxpackages - display imported/exported package details
scope: equinox
parameters:
String Package name of the package to displaypackages - display imported/exported package details
scope: equinox
parameters:
Bundle[] Bundle whose packages to display. If not present displays all exported packagesbundle - display details for the specified bundle(s)
scope: equinox
parameters:
Bundle[] (| ) lb - list all installed bundles
scope: felix
flags:
-l, —location show location
-s, —symbolicname show symbolic name
-u, —updatelocation show update locationlb - list installed bundles matching a substring
scope: felix
flags:
-l, —location show location
-s, —symbolicname show symbolic name
-u, —updatelocation show update location
parameters:
String subtring matched against name or symbolic namerefresh - refresh the packages of the specified bundles; if -all option is specified refresh packages of all installed bundles
scope: equinox
flags:
-all specify to refresh the packages of all installed bundles
parameters:
Bundle[] list of bundles whose packages to be refreshed; if not present refreshes all bundlesstop - stop the specified bundle(s)
scope: equinox
parameters:
Bundle[] bundle(s) to stoptelnetd
scope: gogo
parameters:
String[]which - determines from where a bundle loads a class
scope: felix
parameters:
Bundle target bundle
String target class namesta - start the specified bundle(s)
scope: equinox
parameters:
Bundle[] bundle(s) to startthreads - display threads and thread groups
scope: equinoxthreads - stop the named thread with an IllegalStateException
scope: equinox
parameters:
String stop
String the thread on which to perform the actionthreads - stop the named thread with the provided throwable
scope: equinox
parameters:
String stop
String the thread on which to perform the action
Class the class of the throwable to throw (default = java.lang.IllegalStateException)headers - display bundle headers
scope: felix
parameters:
Bundle[] target bundlesrefresh - refresh bundles
scope: felix
parameters:
Bundle[] target bundles (can be null or empty)headers - print bundle headers
scope: equinox
parameters:
Bundle[] bundles to print headers forformat
scope: gogo
parameters:
Objectformat
scope: gogoexec - execute a command in a separate process and wait
scope: equinox
parameters:
String command to be executedsetibsl - set the initial bundle start level
scope: equinox
parameters:
int new start levelhistory
scope: gogountil
scope: gogo
parameters:
Function
Functionuninstall - uninstall bundles
scope: felix
parameters:
Bundle[] target bundlesinit - uninstall all bundles
scope: equinoxclassSpaces - lists required bundles having the specified symbolic name
scope: equinox
parameters:
String[] symbolic name for required bundles to be listed; if not specified all required bundles will be listedeach
scope: gogo
parameters:
Collection
Function
还没有评论,来说两句吧...