Saturday, October 12, 2013

How to install OSWATCHER

8 komentar
OSwatcher is a collection of UNIX shell scripts intended to collect and archive operating system and network metrics to aid support in diagnosing performance issues. OSW 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.

For installation as below :
root@MYSERVER #
-rw-r--r--   1 root     root      962560 Oct  9 08:58 oswbb511_B.tar
root@MYSERVER # tar -xvf oswbb511_B.tar
x oswbb, 0 bytes, 0 tape blocks
x oswbb/src, 0 bytes, 0 tape blocks
x oswbb/src/tombody.gif, 4175 bytes, 9 tape blocks
x oswbb/src/Thumbs.db, 10240 bytes, 20 tape blocks
x oswbb/src/missing_graphic.gif, 8694 bytes, 17 tape blocks
x oswbb/src/OSW_profile.htm, 21678 bytes, 43 tape blocks
x oswbb/src/watch.gif, 5621 bytes, 11 tape blocks
x oswbb/src/coe_logo.gif, 2994 bytes, 6 tape blocks
x oswbb/src/oswbba_input.txt, 135 bytes, 1 tape blocks
x oswbb/tmp, 0 bytes, 0 tape blocks
x oswbb/headers, 0 bytes, 0 tape blocks
x oswbb/tarupfiles.sh, 138 bytes, 1 tape blocks
x oswbb/Exampleprivate.net, 1730 bytes, 4 tape blocks
x oswbb/vtop.sh, 1090 bytes, 3 tape blocks
x oswbb/vmsub.sh, 598 bytes, 2 tape blocks
x oswbb/docs, 0 bytes, 0 tape blocks
x oswbb/docs/The_Analyzer, 0 bytes, 0 tape blocks
x oswbb/docs/The_Analyzer/OSWbba_README.txt, 17590 bytes, 35 tape blocks
x oswbb/docs/The_Analyzer/OSW_Black_Box_Analyzer_Overview.pdf, 393822 bytes, 770 tape blocks
x oswbb/docs/The_Analyzer/OS_Watcher_Black_Box_Analyzer_User_Guide.pdf, 65364 bytes, 128 tape blocks
x oswbb/docs/OSWatcher_Black_Box, 0 bytes, 0 tape blocks
x oswbb/docs/OSWatcher_Black_Box/OSW_bb_README.txt, 9386 bytes, 19 tape blocks
x oswbb/docs/OSWatcher_Black_Box/OSWatcher_Black_Box_User_Guide.pdf, 136884 bytes, 268 tape blocks
x oswbb/topaix.sh, 439 bytes, 1 tape blocks
x oswbb/topsub.sh, 545 bytes, 2 tape blocks
x oswbb/OSWatcher.sh, 29496 bytes, 58 tape blocks
x oswbb/pssub.sh, 547 bytes, 2 tape blocks
x oswbb/nfssub.sh, 740 bytes, 2 tape blocks
x oswbb/mpsub.sh, 542 bytes, 2 tape blocks
x oswbb/oswrds.sh, 825 bytes, 2 tape blocks
x oswbb/profile, 0 bytes, 0 tape blocks
x oswbb/oswsub.sh, 524 bytes, 2 tape blocks
x oswbb/oswnet.sh, 351 bytes, 1 tape blocks
x oswbb/htop.sh, 834 bytes, 2 tape blocks
x oswbb/OSWatcherFM.sh, 4424 bytes, 9 tape blocks
x oswbb/analysis, 0 bytes, 0 tape blocks
x oswbb/startOSWbb.sh, 1629 bytes, 4 tape blocks
x oswbb/oswlnxio.sh, 655 bytes, 2 tape blocks
x oswbb/gif, 0 bytes, 0 tape blocks
x oswbb/oswlnxtop.sh, 820 bytes, 2 tape blocks
x oswbb/oswib.sh, 414 bytes, 1 tape blocks
x oswbb/stopOSWbb.sh, 542 bytes, 2 tape blocks
x oswbb/oswbba.jar, 200168 bytes, 391 tape blocks
x oswbb/locks, 0 bytes, 0 tape blocks
x oswbb/iosub.sh, 743 bytes, 2 tape blocks
x oswbb/xtop.sh, 1404 bytes, 3 tape blocks
root@MYSERVER #
root@MYSERVER # ./startOSWbb.sh
root@MYSERVER #
Info...You did not enter a value for snapshotInterval.
Info...Using default value = 30
Info...You did not enter a value for archiveInterval.
Info...Using default value = 48
Setting the archive log directory to/opt/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.
./OSWatcher.sh: top: not found
PRSTAT 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 = 64

Discovery completed.

Starting OSWatcher Black Box v5.1.1   on Wed Oct 9 09:09:58 WIT 2013
With SnapshotInterval = 30
With ArchiveInterval = 48

OSWatcher Black Box - Written by Carl Davis, Center of Expertise,
Oracle Corporation
For questions on install/usage please go to MOS (Note:301137.1)
If you need further assistance or have comments or enhancement
requests you can email me Carl.Davis@Oracle.com

Data is stored in directory: /opt/oswbb/archive

Starting Data Collection...

oswbb heartbeat:Wed Oct 9 09:10:03 WIT 2013
oswbb heartbeat:Wed Oct 9 09:10:33 WIT 2013
oswbb heartbeat:Wed Oct 9 09:11:03 WIT 2013


root@MYSERVER # ps -ef | grep osw
    root 29462 29269   0 09:10:03 pts/4       0:00 /bin/sh ./OSWatcherFM.sh 48 /opt/oswbb/archive
    root  6052 28358   0 09:33:05 pts/5       0:00 grep osw
root@MYSERVER # pwd
/opt/oswbb/archive
root@MYSERVER # ls -ltr
total 14
drwxr-xr-x   2 root     root         512 Oct  9 09:09 oswprvtnet
drwxr-xr-x   2 root     root         512 Oct  9 09:10 oswvmstat
drwxr-xr-x   2 root     root         512 Oct  9 09:10 oswmpstat
drwxr-xr-x   2 root     root         512 Oct  9 09:10 oswnetstat
drwxr-xr-x   2 root     root         512 Oct  9 09:10 oswiostat
drwxr-xr-x   2 root     root         512 Oct  9 09:10 oswtop
drwxr-xr-x   2 root     root         512 Oct  9 09:10 oswps
root@MYSERVER #
Read More..
 
footer