Shows the status of a deployed bundle.
bw status PATH (or NAME status)
- PATH points to a deployed bundle (not needed when action is called using the deployed bundle's NAME)
<bw.status path="${path}" />
# Check the status of the current tomcat
tomcat status
# Check the status of a specific deployment of the helloserver bundle
bw status /local/dev/helloserver
- This executes the 'status' bundle hook. This hook must be present inside a bundle for this command to work.
- In addition to displaying a message, the 'status' hook should exit with error codes to help monitoring software determine status. The codes are 0 for OK, 1 for WARNING, and 2 for ERROR.