OSWatcher – Installation and Usage


Is OSwatcher running and if yes with which parameters ?

 
$  ps -elf | grep OSWatcher  | grep -v grep
0 S root     10197     1  0  80   0 - 26569 wait   11:16 pts/9    00:00:00 /bin/sh ./OSWatcher.sh 60 1 gzip 
0 S root     10355 10197  0  80   0 - 26535 wait   11:17 pts/9    00:00:00 /bin/sh ./OSWatcherFM.sh 1 /home/OSWatcher/oswbb/archive
  Data Collection   : 60 second intervals 
  Log period        : 1 hours 
  OSWachter Archive : /home/OSWatcher/oswbb/archive 
  File comp. foramt : gzip 

Check the OSWatcher archive location 
$ ls -l /home/OSWatcher/oswbb/archive
total 36
drwxr-xr-x 2 root root 4096 Oct 17 11:17 oswiostat
drwxr-xr-x 2 root root 4096 Oct 17 11:17 oswmeminfo
drwxr-xr-x 2 root root 4096 Oct 17 11:17 oswmpstat
drwxr-xr-x 2 root root 4096 Oct 17 11:17 oswnetstat
drwxr-xr-x 2 root root 4096 Oct 17 11:16 oswprvtnet
drwxr-xr-x 2 root root 4096 Oct 17 11:17 oswps
drwxr-xr-x 2 root root 4096 Oct 17 11:17 oswslabinfo
drwxr-xr-x 2 root root 4096 Oct 17 11:17 oswtop
drwxr-xr-x 2 root root 4096 Oct 17 11:17 oswvmstat

Starting OSWatcher via ssh and check whether OSWatcher is running

$ ssh grac42 "cd /u01/app/11204/grid/oswbb; ./startOSWbb.sh 48 10  gzip /u01/app/11204/grid/oswbb/archive" >/tmp/Start_OSW_grac42 &

$ ssh grac42 "ps -elf | grep OSWatcher  | grep -v grep"
0 S grid    ...  /bin/sh ./OSWatcherFM.sh 10 /u01/app/11204/grid/oswbb/archive

2 thoughts on “OSWatcher – Installation and Usage”

  1. nice article, just i have a question, when i tried to run de OSwatcher on solaris, the next error is appearing:

    oswbb heartbeat:Tue Nov 24 11:13:14 CST 2015
    ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory
    ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory
    .
    .
    .

    do you know any about it ??

  2. Sorry I don’t have access to any Solaris box .
    libgmp seems to be GNU MP portable library written in C for arbitrary precision arithmetic

    Can you find libgmp.so on your system ?
    If yes does your LD_LIBRARY_PATH point to that directory ?
    Is this a Solaris 10 Sparc system ?

Leave a Reply

Your email address will not be published. Required fields are marked *