Tuesday, January 14, 2014

ServiceMix 4.2.5:Usefull Commands

Some important commands that are useful for Trouble shooting in Prod Enviroment

Osgi—Provides a set of commands to manage OSGi bundles. See Admin ConsoleCommands
Features —Provides a set commands to manage bundles that are grouped into features. See Features Console Commands
Jbi —Provides a set of commands to manage JBI artifacts, including commands to perform all of the required JBI administrative tasks. See JBI Console Commands
Obr —Provides a set of commands to manage OSGi Bundle Repositories (OBRs). See OSGi Console Commands
1)  Shell Console Commands :These are normal linux command supported by karaf

Shell:cat
Shell:echo
Shell:exec
Shell:grep
Shell:info
Shell:java
Shell:printf
Shell:sleep
Shell:sort
Shell:tac

2) Admin Console Commands : Creates, manages, and destroys FUSE ESB kernel instances
Admin:change-port
Admin:connect
Admin:create
Admin:destroy
Admin:list
Admin:start
Admin:stop

3) Config Console Commands :    Manages configuration of  files
Config:cancel
Config:edit
Config:list
Config:propappend
Config:propdel
Config:proplist
Config:propset
Config:update
Note:
The config commands are used for managing the FUSE ESB configuration. The correct order for using these commands is:

        Config:edit
Any one of
Config:proplist
Config:propappend
Config:propset
Config:propdel
Either of
Config:update
Config:cancel

4) ActiveMQ Console Commands: Views and manages brokers and messages
Activemq:browse
Activemq:bstat
Activemq:create-broker
Activemq:destroy-broker
Activemq:list
Activemq:purge
Activemq:query

5) JBI Console Commands: Lists JBI artifacts and manages their lifecycle
Jbi:list
Jbi:shutdown
Jbi:start
Jbi:stop

6) Features Console Commands: Performs provisioning  of files
Features:addUrl
Features:install
Features:list
Features:listUrl
Features:refreshUrl
Features:removeUrl
Features:uninstall

7)  Log Console Commands: Displays and configures logging of files
Log:display
Log:display-exception
Log:get
Log:set

8) OSGi Console Commands: Manages the OSGi bundle repository
Osgi:bundle-level
Osgi:headers
Osgi:install
Osgi:list
Osgi:ls
Osgi:refresh
Osgi:resolve
Osgi:restart
Osgi:shutdown
Osgi:start
Osgi:start-level
Osgi:stop
Osgi:uninstall
Osgi:update

9) Dev Commands :  
Dev:Create-Dump
Dev:Dynamic import  pid
Dev:Print-Stacktrace-Trace
Dev:Show-Tree 47
Dev:watch
Dev:Framework
Dev:Framework-Debug
Dev:Framewor-NoDebug

10) JAAS: Authentication and Authorizations servies
Jaas:user
Jaas:addusers
Jaas:Managekaraf
Jaas:Cancel
Jaas:Pending
Jaas:Update

11)NMRCommand: Lists NMR endpoints
NMR:list

12) OBR Console Commands: Accesses the OSGi bundle repository
Obr:addUrl
Obr:deploy
Obr:info
Obr:list
Obr:listUrl
Obr:refreshUrl
Obr:removeUrl
Obr:source
Obr:start

13)Packages Console Commands: Lists imported and exported packages
Packages:exports
Packages:imports



         
Thanks!!!

No comments:

Post a Comment