ORACLE OSWatcher Utility


Installation:

[oracle@SERVER-DB:/tmp/oswbb601]$ tar xvf oswbb601.tar
oswbb/
oswbb/src/
oswbb/src/tombody.gif
oswbb/src/Thumbs.db
oswbb/src/missing_graphic.gif
oswbb/src/OSW_profile.htm
oswbb/src/watch.gif
oswbb/src/coe_logo.gif
oswbb/src/oswbba_input.txt
oswbb/tmp/
oswbb/call_du.sh
oswbb/tarupfiles.sh
oswbb/Exampleprivate.net
oswbb/vmsub.sh
oswbb/docs/
oswbb/docs/The_Analyzer/
oswbb/docs/The_Analyzer/oswbba_README.txt
oswbb/docs/The_Analyzer/OSW_Black_Box_Analyzer_Overview.pdf
oswbb/docs/The_Analyzer/oswbba_user_guide.pdf
oswbb/docs/OSWatcher_Black_Box/
oswbb/docs/OSWatcher_Black_Box/OSWatcherUserGuide.pdf
oswbb/docs/OSWatcher_Black_Box/oswbb_README.txt
oswbb/topaix.sh
oswbb/OSWatcher.sh
oswbb/pssub.sh
oswbb/nfssub.sh
oswbb/mpsub.sh
oswbb/oswrds.sh
oswbb/profile/
oswbb/oswsub.sh
oswbb/call_sar.sh
oswbb/oswnet.sh
oswbb/OSWatcherFM.sh
oswbb/analysis/
oswbb/startOSWbb.sh
oswbb/gif/
oswbb/oswib.sh
oswbb/stopOSWbb.sh
oswbb/extras.txt
oswbb/oswbba.jar
oswbb/locks/
oswbb/iosub.sh
oswbb/xtop.sh


OSW Files:

[oracle@SERVER-DB:/tmp/oswbb601]$ cd oswbb
[oracle@SERVER-DB:/tmp/oswbb601/oswbb]$ ls -lart
total 352
-rwxr-xr-x 1 oracle oinstall   1404 Oct 10  2012 xtop.sh
-rwxr-xr-x 1 oracle oinstall    138 Oct 10  2012 tarupfiles.sh
-rwxr-xr-x 1 oracle oinstall    542 Oct 10  2012 stopOSWbb.sh
-rwxr-xr-x 1 oracle oinstall    547 Oct 10  2012 pssub.sh
-rwxr-xr-x 1 oracle oinstall    524 Oct 10  2012 oswsub.sh
-rwxr-xr-x 1 oracle oinstall    825 Oct 10  2012 oswrds.sh
-rwxr-xr-x 1 oracle oinstall    351 Oct 10  2012 oswnet.sh
-rwxr-xr-x 1 oracle oinstall    414 Oct 10  2012 oswib.sh
-rwxr-xr-x 1 oracle oinstall   4424 Oct 10  2012 OSWatcherFM.sh
-rwxr-xr-x 1 oracle oinstall    740 Oct 10  2012 nfssub.sh
-rwxr-xr-x 1 oracle oinstall    542 Oct 10  2012 mpsub.sh
-rwxr-xr-x 1 oracle oinstall    743 Oct 10  2012 iosub.sh
-rwxr-xr-x 1 oracle oinstall    544 Nov  7  2012 vmsub.sh
-rwxr-xr-x 1 oracle oinstall     68 Nov 12  2012 call_sar.sh
-rwxr-xr-x 1 oracle oinstall   2385 Jan  8  2013 startOSWbb.sh
-rwxr-xr-x 1 oracle oinstall    441 Jan  9  2013 topaix.sh
-rwxr-xr-x 1 oracle oinstall   1864 Jan  9  2013 Exampleprivate.net
drwxr-xr-x 4 oracle oinstall   4096 Feb 14  2013 docs
drwxr-xr-x 2 oracle oinstall   4096 Feb 14  2013 gif
drwxr-xr-x 2 oracle oinstall   4096 Feb 14  2013 profile
drwxr-xr-x 2 oracle oinstall   4096 Feb 14  2013 src
drwxr-xr-x 2 oracle oinstall   4096 Feb 14  2013 analysis
-rwxr-xr-x 1 oracle oinstall     67 Feb 18  2013 call_du.sh
-rwxr-xr-x 1 oracle oinstall  31619 Feb 20  2013 OSWatcher.sh
-rw-r--r-- 1 oracle oinstall 202729 Feb 20  2013 oswbba.jar
drwxr-xr-x 2 oracle oinstall   4096 Feb 20  2013 tmp
drwxr-xr-x 2 oracle oinstall   4096 Feb 20  2013 locks
-rwxr-xr-x 1 oracle oinstall    632 Feb 20  2013 extras.txt
drwxr-xr-x 9 oracle oinstall   4096 Feb 20  2013 .
drwxr-xr-x 3 oracle oinstall   4096 Oct  2 18:14 ..



Start OSWatcher:

[oracle@SERVER-DB:/tmp/oswbb601/oswbb]$ ./startOSWbb.sh 60 12
[oracle@SERVER-DB:/tmp/oswbb601/oswbb]$ Setting the archive log directory to/tmp/oswbb601/oswbb/archive

Testing for discovery of OS Utilities...
VMSTAT found on your system.
IOSTAT found on your system.
MPSTAT found on your system.
NETSTAT found on your system.
TOP found on your system.

Testing for discovery of OS CPU COUNT
oswbb is looking for the CPU COUNT on your system
CPU COUNT will be used by oswbba to automatically look for cpu problems

CPU COUNT found on your system.
CPU COUNT = 8

Discovery completed.



OSW snaphosts :

[oracle@SERVER-DB:/tmp/oswbb601/oswbb]$ cd archive/
[oracle@SERVER-DB:/tmp/oswbb601/oswbb/archive]$ ls -lart
total 44
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:16 oswprvtnet
drwxr-xr-x 10 oracle oinstall 4096 Oct  2 18:16 ..
drwxr-xr-x 11 oracle oinstall 4096 Oct  2 18:16 .
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:17 oswvmstat
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:17 oswtop
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:17 oswslabinfo
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:17 oswps
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:17 oswnetstat
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:17 oswmpstat
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:17 oswmeminfo
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:17 oswiostat
[oracle@SERVER-DB:/tmp/oswbb601/oswbb/archive]$




OSWatcher Graph:

[oracle@SERVER-DB:/tmp/oswbb601/oswbb]$  java -jar oswbba.jar -i archive

Starting OSW Black Box Analyzer V6.0.1
OSWatcher Black Box Analyzer Written by Oracle Center of Expertise
Copyright (c)  2012 by Oracle Corporation

Parsing Data. Please Wait...

Scanning file headers for version and platform info...


Parsing file SERVER-DB_iostat_13.10.02.1800.dat ...


Parsing file SERVER-DB_vmstat_13.10.02.1800.dat ...

Parsing file SERVER-DB_netstat_13.10.02.1800.dat ...


Parsing file SERVER-DB_top_13.10.02.1800.dat ...


Parsing Completed.

Enter 1 to Display CPU Process Queue Graphs
Enter 2 to Display CPU Utilization Graphs
Enter 3 to Display CPU Other Graphs
Enter 4 to Display Memory Graphs
Enter 5 to Display Disk IO Graphs

Enter 6 to Generate All CPU Gif Files
Enter 7 to Generate All Memory Gif Files
Enter 8 to Generate All Disk Gif Files

Enter L to Specify Alternate Location of Gif Directory
Enter T to Specify Different Time Scale
Enter D to Return to Default Time Scale
Enter R to Remove Currently Displayed Graphs
Enter P to Generate A Profile
Enter A to Analyze Data
Enter Q to Quit Program

Please Select an Option:7
Generating file gif/Oct02181725_1380749384/OSWg_OS_Memory_Swap.gif
Generating file gif/Oct02181725_1380749384/OSWg_OS_Memory_Free.gif



[oracle@SERVER-DB:/tmp/oswbb601/oswbb]$ cd gif/
[oracle@SERVER-DB:/tmp/oswbb601/oswbb/gif]$ ls -lart
total 12
drwxr-xr-x 10 oracle oinstall 4096 Oct  2 18:16 ..
drwxr-xr-x  3 oracle oinstall 4096 Oct  2 18:29 .
drwxr-xr-x  2 oracle oinstall 4096 Oct  2 18:29 Oct02181725_1380749384
[oracle@SERVER-DB:/tmp/oswbb601/oswbb/gif]$
[oracle@SERVER-DB:/tmp/oswbb601/oswbb/gif]$
[oracle@SERVER-DB:/tmp/oswbb601/oswbb/gif]$ cd Oct02181725_1380749384/
[oracle@SERVER-DB:/tmp/oswbb601/oswbb/gif/Oct02181725_1380749384]$ ls -lart
total 28
drwxr-xr-x 3 oracle oinstall  4096 Oct  2 18:29 ..
-rw-r--r-- 1 oracle oinstall  7923 Oct  2 18:29 OSWg_OS_Memory_Swap.gif
-rw-r--r-- 1 oracle oinstall 10944 Oct  2 18:29 OSWg_OS_Memory_Free.gif






Stop OSWatcher:


[oracle@SERVER-DB:/tmp/oswbb601/oswbb]$ ./stopOSWbb.sh

Nenhum comentário: