OSWATCHER Report Generation in Linux

 Perform below steps to get os watcher data:


Step 1: go to oswatcher data location /fileserver/work_area/EBSQA/oswatcher/db10182019


cd /oraqa/oracle/OSWATCHERDATA

find . -name '*19.10.18*'  -exec zip         date should be in this format (yy.mm.dd) /fileserver/work_area/EBSQA/oswatcher/db10182019/osw_`hostname`.zip {} \;

above command will generate zip file . please unzip file using below command.

[oraqa@x2ebsdb01 db10182019] unzip osw_x2ebsdb01.mnao.net.zip

[oraqa@x2ebsdb01 db10182019] find . -name "*.gz" -exec gunzip  {} \; 


Step 2:  VNC server step :[ login to server using vncserver]

         $vncserver 

password: Mazdausa1

 

Step 3:  open vncserver enter username pwd [servername:portnumber] pwd 

          open new terminal --> 

  

step 4: cd /oraqa/oracle/oswbb

cd /oraqa/oracle/oswbb

    

  Below command is used to start OS watcher menu . Run it in vnc. Used options 6,7,P and A as requires

  Run this comamnd --> java -jar oswbba.jar -i /fileserver/work_area/EBSQA/oswatcher/db10182019 -b Oct 18 01:00:00 2019 -e Oct 18 03:00:00 2019

  

  for analysis --> /oraqa/oracle/oswbb/analysis  --> give latest file which is generated

   for profile --> /oraqa/oracle/oswbb/profile  --> give latest file which is generated

 yy-mon-date--this is format of oswatcher report

plz extract 19:45 to 20:15 oswatcher report from sppprd for 14/NOV/19 



find . -name '*14.11.19*'  -exec zip /fileserver/work_area/SPPPRD/oswatcher/db14112019/osw_`hostname`.zip {} \;

find . -name '*19.11.14*'  -exec zip /fileserver/work_area/SPPPRD/oswatcher/db14112019/osw_`hostname`.zip {} \; 



find . -name '*19.11.14*'  -exec zip /fileserver/work_area/SPPPRD/oswatcher/db14112019/osw_`hostname`.zip {} \;  --Perfect

 command which work 

 

 

 

 find . -name "*.gz" -exec gunzip  {} \; ----Not working 

 find . -name "*.gz" -exec gunzip {} \; ---Perfect working 

 

 

 

 

  Run this comamnd --> java -jar oswbba.jar -i /fileserver/work_area/SPPPRD/oswatcher/db14112019 -b Nov 14 19:45:00 2019 -e Nov 14 20:15:00 2019

 



 

Comments

Popular posts from this blog

Compression Tools in Linux[TAR,gzip]

All about DataInstaller & Hrglobal.drv in Oracle Applications R12

PSU Patching step by step on RAC