Oracle OSWatcher Black Box
Oracle OSWatcher Black Box
OSWatcher (oswbb) is a collection of UNIX shell scripts intended to collect and archive operating system and network metrics to aid support in diagnosing performance issues. OSWatcher operates as a set of background processes on the server and gathers OS data on a regular basis, invoking such Unix utilities as vmstat, netstat and iostat.
Installing with TAR file
RHEL 6/7
-
Upload the oswbbxxx.tar file.
mkdir /u01/oswatcher
tar -xvf /soft/oswbb840.tar -C /u01/oswatcher -
(Option), traceroute the RAC private network.
Copy Exampleprivate.net to private.net. /u01/oswatcher/oswbb/private.net
######################################################################
#Linux Example
######################################################################
echo "zzz ***"`date`
traceroute -r -F rac01-priv
traceroute -r -F rac02-priv
######################################################################
rm locks/lock.file -
Configure OSWBB to run in the background, collect data every 2 seconds, and save the collected data for 72 hours.
nohup /u01/oswatcher/oswbb/startOSWbb.sh 2 72 gzip &
-
Configure the OSWBB task to start automatically on boot.
vi /etc/rc.local
nohup /u01/oswatcher/oswbb/startOSWbb.sh 2 72 gzip & -
Stop OSWBB.
/u01/oswatcher/oswbb/stopOSWbb.sh
-
Generate performance charts in Java.
java -jar oswbba.jar -i /u01/oswatcher/oswbb/archive
-
Uninstall.
rm -rf /u01/oswatcher/oswbb
Installing with RPM package
RHEL 8/9/10
~]# dnf install oswatcher |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.