StreamBase sbhealth utility options

StreamBase sbhealth utility options

book

Article ID: KB0074462

calendar_today

Updated On:

Products Versions
TIBCO Streaming 7

Description

How to use sbhealth.

Environment

This does not apply to TIBCO Streaming 10.x or later.

Resolution

The sbhealth command is used by Technical Support to gather information about the StreamBase configuration on a machine. It reports static configuration and the current runtime environment. It does not interact with any running StgreamBase server so can be used in production environments. It uses only standard OS utilities to list directory and file information, report contents of files, report environment, and a list of currently running processes.

To use: 

1. Open a StreamBase Command window.
2. Make sure the environment STREAMBASE_HOME is set correctly.
3. Run sbhealth from the command line.

By the default the output goes to stdout which is the screen on most machines. The output can be redirected using the > operator, as so: sbhealth > health.log

To get the most verbose output currently available from sbhealth, do:
sbhealth -L

By default the output goes to stdout. If you want to send the output to a file, you can redirect it or use the --o option:
sbhealth -L -o health.log

Just sbhealth with no options dumps some system information and the versions of installed StreamBase files.

Issue/Introduction

sbhealth options