OSWatcher aracı belirli aralıklarla top, iostat,vmstat, netstat gibi komutlar ile üretilen verilerin analiz edilip saklanılıp raporlanması için geliştirilmiş bir araçtır.İçinde barındırdığı OSWg aracı ile analiz edilen verileri grafik olarak sunar.
OSWatcher aracı Oracle tarafından geliştirilmiştir ve metalink üzerinden (support.oracle.com) ücretsiz indirip kullanabilirsiniz. Metalink üzerinden (https://support.oracle.com) “OS Watcher Black Box User Guide [ID 301137.1]” isimli dokümanda bulunan oswbb733.tar isimli dosyayı indirelim.
1.Bu dosyayı WinSCP tarzı bir program ile Linux sunucumuza “oracle” kullanıcısı ile kopyalayalım.
2.tar dosyasını “oracle” kullanıcısı ile açalım.
[oracle@test-rac1 oswatcher]$ tar xvf /home/oracle/oswatcher/oswbb733.tar oswbb/ oswbb/docs/ oswbb/docs/The_Analyzer/ oswbb/docs/The_Analyzer/OSWatcherAnalyzerOverview.pdf oswbb/docs/The_Analyzer/oswbbaUserGuide.pdf oswbb/docs/The_Analyzer/oswbba_README.txt oswbb/docs/OSWatcher/ oswbb/docs/OSWatcher/oswbb_README.txt oswbb/docs/OSWatcher/OSWatcherUserGuide.pdf oswbb/Exampleprivate.net oswbb/nfssub.sh oswbb/stopOSWbb.sh oswbb/call_du.sh oswbb/iosub.sh oswbb/OSWatcherFM.sh oswbb/ifconfigsub.sh oswbb/ltop.sh oswbb/mpsub.sh owbb/call_uptime.sh oswbb/psmemsub.sh oswbb/tar_up_partial_archive.sh oswbb/oswnet.sh oswbb/vmsub.sh oswbb/call_sar.sh oswbb/oswib.sh oswbb/startOSWbb.sh oswbb/Example_extras.txt oswbb/oswsub.sh oswbb/oswbba.jar oswbb/OSWatcher.sh oswbb/tarupfiles.sh oswbb/xtop.sh oswbb/src/ oswbb/src/Thumbs.db oswbb/src/OSW_profile.htm oswbb/src/tombody.gif oswbb/src/missing_graphic.gif oswbb/src/coe_logo.gif oswbb/src/watch.gif oswbb/src/oswbba_input.txt oswbb/oswrds.sh [oracle@test-rac1 oswatcher]$
NOT : OSWatcher ksh kabuğunda(shell) yazıldığı için sistemimizde ksh olması gerekmektedir. ksh olup olmadıgını anlamak için aşagıdaki komutdan yararlanabiliriz.
[root@test-rac1 ~]# rpm -qa | grep ksh ksh-20100621-19.el6.x86_64