Note: For TIBCO Streaming versions 10.x and later, instead use the
epadmin command
create snapshot to obtain equivalent information.
The
sbhealth utility gathers installation and machine environment data into a report to aid Support in troubleshooting product issues. The output is a plain-text file which may be inspected before sending to Support. It does not intentionally collect any sensitive user data. It does not attempt to discover or interact with any running StreamBase server (sbd-java) process, so may be run on a production system.
To run
sbhealth on Windows:
- Open the StreamBase Command Prompt (or a cmd.exe shell)
- Run:
sbhealth >sbhealth.log 2>&1
To run
sbhealth on Unix/Linux/Solaris:
- Open a terminal window
- Run:
eval `sb-config --env`
sbhealth >sbhealth.log 2>&1
Send the
sbhealth.log file as an email attachment to your message to
support@streamabse.com.
Options
The command line options are:
-a : print all information (default)
-b : print a brief summary of information
-h : print usage and exit
-l : print StreamBase log entries
-L : List all installed files
-F : List all installed files, including docs
-n : List some .NET registry info
-m : List the native assembly cache
-d : print Dr Watson log
-e : print environment variables in current shell
-o path : redirect output to path
-p program_string : program name to look for in event log or Dr Watson log. Multiple -p may be used
-w date_string : dump Dr Watson log for entries that contain date_string in their "When:" clause
--version : display the version of sbhealth.exe
Output
Typical output with no options looks like this:
sbhealth version: 1105141646 7.1.1.2
2011-11-08 16:12:44 UTC
Windows version 5.1 (2600) - CSD version Service Pack 3
Windows directory: C:\WINDOWS
Single CPU, 2820 MHz, processor level 6, revision 0x170a
Total main memory=2047MB, available=1712MB, load=16 %
Drive C:\ has 1 GB free
Drive D:\ is a cdrom
Drive E:\ has 8 GB free
Drive S:\ is a remote
PATH: C:\Program Files\StreamBase Systems\StreamBase.7.1\jdk\bin;C:\Program Files\StreamBase Systems\StreamBase.7.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem StreamBase installed in: C:\Program Files\StreamBase Systems\StreamBase.7.1\ File versions in C:\Program Files\StreamBase Systems\StreamBase.7.1\\bin db_stat.exe: Version Information not available. jsbadmin.exe: 1105141646 7.1.1.2 7,1,1,2 jsbc.exe: 1105141646 7.1.1.2 7,1,1,2 ...
Base versions in C:\Program Files\StreamBase Systems\StreamBase.7.1\\lib ...
Adapter versions in C:\Program Files\StreamBase Systems\StreamBase.7.1\\lib\adapter ...
lib\ext versions in C:\Program Files\StreamBase Systems\StreamBase.7.1\\lib\ext ...
lib\bootext versions in C:\Program Files\StreamBase Systems\StreamBase.7.1\\lib\bootext ...
sbstudio versions in C:\Program Files\StreamBase Systems\StreamBase.7.1\\lib\studio\plugins
Streambase registry keys: Values for key: SOFTWARE\StreamBase Systems\StreamBase.7.1\sbd.7.1 Values for key: SOFTWARE\StreamBase Systems\StreamBase.7.1 DataDir: C:\Program Files\StreamBase Systems\StreamBase.7.1\DataDir InstallDir: C:\Program Files\StreamBase Systems\StreamBase.7.1\ sbd.7.1Startup: -b VERSION_MM: 7.1 VERSION_MMP: 7.1.1 VERSION_MMPB: 7.1.1.2
Streambase service keys:
Values for key: SYSTEM\CurrentControlSet\Services\sbd.7.1\Security Security: Unsupported Type: 3
Values for key: SYSTEM\CurrentControlSet\Services\sbd.7.1 Type: 0x010 (16) Start: 0x03 (3) ErrorControl: 0x01 (1) ImagePath: "C:\Program Files\StreamBase Systems\StreamBase.7.1\bin\sbd.exe" DisplayName: StreamBase 7.1 Service ObjectName: LocalSystem Description: StreamBase application Service
Streambase License: ...
Scouting for java... JAVA_HOME=C:\Program Files\StreamBase Systems\StreamBase.7.1\jdk
Found java in C:\Program Files\StreamBase Systems\StreamBase.7.1\jdk\bin, version:
java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
Found java in C:\WINDOWS\system32, version:
java version "1.6.0_29" Java(TM) SE Runtime Environment (build 1.6.0_29-b11) Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)
Java keys:
Python keys:
Dump of environment variables:
=::=::\
=C:=C:\Program Files\StreamBase Systems\StreamBase.7.1
=ExitCode=00000000
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Support\Application Data
CLASSPATH=C:\Program Files\StreamBase Systems\StreamBase.7.1\lib\sbclient.jar;
CLIENTNAME=Console CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=SUPPORT-XP-VM
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Support
JAVA_HOME=C:\Program Files\StreamBase Systems\StreamBase.7.1\jdk
LOGONSERVER=\\SUPPORT-XP-VM
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Program Files\StreamBase Systems\StreamBase.7.1\jdk\bin;C:\Program Files\StreamBase Systems\StreamBase.7.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramFiles=C:\Program Files
PROMPT=$P$G
PYTHONPATH=;C:\Program Files\StreamBase Systems\StreamBase.7.1\lib\python2.6
SESSIONNAME=Console
STREAMBASE_HOME=C:\Program Files\StreamBase Systems\StreamBase.7.1\
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\Support\LOCALS~1\Temp
TMP=C:\DOCUME~1\Support\LOCALS~1\Temp
USERDOMAIN=SUPPORT-XP-VM
USERNAME=Support
USERPROFILE=C:\Documents and Settings\Support
windir=C:\WINDOWS
Network configuration:
Windows IP Configuration
StreamBase event log entries: ...