OSGi Commands

After you have accessed the OSGi console with the telnet command, you can run commands to gather data about running AppNodes and applications.

Command Reference

  • To view all commands, enter help
  • To view command syntax, enter help command_name from the OSGI console, for example: admin@AN1> help bw:lapi

The following table lists some of the commands.

OSGi Commands
Command Description
bw:dsr Diagnoses shared resource issues.
bw:geticon Tests for availability of BW activity icons with a given ID and type.
bw:lais Retrieves statistics for activities that have been executed in process(es) for the application.
bw:lapi Retrieves information about active process instances for the application.
bw:las Lists all instantiated activities.
bw:lat Lists all registered activity types.
bw:lbwes Lists all subscribers that are currently listening to BW statistics events.
bw:le Prints information about BW engines.
bw:lec Prints information about BW engine configurations.
bw:lendpoints Lists endpoints exposed by the BW engine.
bw:les Lists all instantiated EventSources.
bw:lmetrics Prints job metrics for application(s) running on the AppNode.
bw:lpis Prints statistics of process(es) that have been executed for the application.
bw:lr Lists all resource details.
bw:lrhandlers Lists all resource handlers.
bw:lrproxies Lists all resource proxies.
bw:startesc Starts collection of execution statistics for a given entity (activity/process) for application(s).
bw:stopesc Stops execution statistics collection of given entity (process/activity) for application(s).
bw:startpsc Starts collection of process statistics for application(s).
bw:stoppsc Stops collection of process statistics for application(s).
bw:lapis Prints summary of 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 BW Processes.
frwk:ll Print information about all libraries.
frwk:lloggers Print all loggers currently configfured on the AppNode.
frwk:lp Print information about all known BW Processes.
frwk:pauseapp Stop the process starters and their bindings and pause all jobs of a BW Application.
frwk:resumeapp Start the process starters and their bindings and resume all jobs of a BW Application.
frwk:setloglevel Sets the log level for a given logger.
frwk:startcomps Start all process starters and their bindings of a BW Application.
frwk:startps Start the process starters of a BW Application.
frwk:stopps Stop the process starters of a BW Application.
frwk:stopapp Stop an Application gracefully.
frwk:td Print a full thread dump.
Note: Some of the statistics retrieval commands such as lapi require the statistics activation command startpsc to be executed first.