Running OSGi Commands
You can run commands to gather data about running AppNodes and applications. For more information, see Using HTTP Client to Connect to the Runtime.
Command Reference
- To view all commands, use
curl -v http://localhost:8090/bw/framework.json/osgi?command=help
- To view command syntax, use
curl -v http://localhost:8090/bw/framework.json/osgi?command=help%20<command_name>
For example,curl -v http://localhost:8090/bw/framework.json/osgi?command=help%20pauseapp
The following table lists some of the commands.
Command | Description |
---|---|
bw:dsr
|
Diagnoses shared resource issues. |
bw:geticon
|
Tests for availability of TIBCO BusinessWorks Container Edition activity icons with a given ID and type. |
bw:lais
|
Retrieves statistics for activities that have been run in one of the processes for the application. |
bw:lapi
|
Retrieves information about all process instances for the application based on the applied filters.
Note: You can see the output of the lapi command on the console. The output can be exported in the CSV format.
|
bw:las
|
Lists all instantiated activities. |
bw:lat
|
Lists all registered activity types. |
bw:lbwes
|
Lists all subscribers that are currently listening to TIBCO BusinessWorks Container Edition statistics events. |
bw:le
|
Prints information about TIBCO BusinessWorks Container Edition engines. |
bw:lec
|
Prints information about TIBCO BusinessWorks Container Edition engine configurations. |
bw:lendpoints
|
Lists endpoints exposed by the TIBCO BusinessWorks Container Edition engine. |
bw:les
|
Lists all instantiated
EventSources .
|
bw:lmetrics
|
Prints job metrics for applications running on the AppNode. |
bw:lpis
|
Prints statistics of one of the processes that run for the application. |
bw:lr
|
Lists all resource details. |
bw:lrhandlers
|
Lists all resource handlers. |
bw:lrproxies
|
Lists all resource proxies. |
bw:startesc
|
Starts a collection of execution statistics for a given entity (activity/process) for applications. |
bw:stopesc
|
Stops execution statistics collection of a given entity (process/activity) for applications. |
bw:startpsc
|
Starts collection of process statistics for applications. |
bw:stoppsc
|
Stops collection of process statistics for applications. |
bw:lapis
|
Prints summary of an active process instance. |
frwk:appnodeprocessinfo
|
Prints information about AppNode system processes. |
frwk:dc
|
Delete a configuration with a given PID. |
frwk:dc
|
Delete all configurations. |
frwk:la
|
Print information about all applications. |
frwk:lap
|
Print all application properties. |
frwk:lb
|
List installed bundles matching a substring. |
frwk:lb
|
List all installed bundles. |
frwk:lcfg
|
Print all CAS configuration details. |
frwk:lp
|
Print information about all known TIBCO BusinessWorks Container Edition processes. |
frwk:ll
|
Print information about all libraries. |
frwk:lloggers
|
Print all loggers currently configured on the AppNode. |
frwk:lp
|
Print information about all known TIBCO BusinessWorks Container Edition processes. |
frwk:pauseapp
|
Stop the process starters and their bindings and pause all jobs of an TIBCO BusinessWorks Container Edition application. |
frwk:resumeapp
|
Start the process starters and their bindings and resume all jobs of an TIBCO BusinessWorks Container Edition application. |
frwk:setloglevel
|
Sets the log level for a given logger. |
frwk:startcomps
|
Start all process starters and their bindings of an TIBCO BusinessWorks Container Edition application. |
frwk:startps
|
Start the process starters of an TIBCO BusinessWorks Container Edition application. |
frwk:stopps
|
Stop the process starters of an TIBCO BusinessWorks Container Edition application. |
frwk:startapp
|
Start a TIBCOTIBCO BusinessWorks Container Edition application gracefully. |
frwk:stopapp
|
Stop a TIBCOTIBCO BusinessWorks Container Edition application gracefully. |
frwk:td
|
Print a full thread dump. |
Note: To run some of the statistics retrieval commands such as
lapi
, you must first run the
startpsc
statistics activation command.
Subtopics