MENU

OSWatcherで遊んでみた

もくじ

OSWatcherとは・・・

診断データ収集の類のようです。
Databaseのみならず、Grid、RACの観点も含めて診られる模様。

TFAという包括的な診断データ収集ユーティリティのなかで、OS情報の取得ができるのが
OSWatcherといえそうです。 ざっくり、sarみたいなもの。。

バージョンにもよると思いますが、19cの時点では gridインストール時には自動で入っているようで、好き好んでOSWatcherを望んだわけでは
ないのですが(といったら失礼か。。。)
知るきっかけとなりました。 docs.oracle.com

docs.oracle.com

遊んでみる

初期状態の確認

はじめに、ディレクトリの移動と中身を見てみます。
oracleユーザーにおける該当ディレクトリは次の感じ。

[root@sdb01 ~]# su - oracle
最終ログイン: 2020/08/10 (月) 11:09:04 JST日時 pts/0
[oracle@sdb01 ~]$ cd /opt/app/oracle/product/19.3.0/db_1/suptools/tfa/release/tfa_home/ext/oswbb
[oracle@sdb01 oswbb]$ ls -l
合計 472
-rwxr-xr-x 1 oracle oinstall  46453  3月 15  2019 OSWatcher.sh
-rwxr-xr-x 1 oracle oinstall   6416  3月 15  2019 OSWatcherFM.sh
-rwxr-xr-x 1 oracle oinstall     67  3月 15  2019 call_du.sh
-rwxr-xr-x 1 oracle oinstall     68  3月 15  2019 call_sar.sh
-rwxr-xr-x 1 oracle oinstall     71  3月 15  2019 call_uptime.sh
-rwxr-xr-x 1 oracle oinstall   3990  3月 15  2019 genprvnet.sh
-rwxr-xr-x 1 oracle oinstall    772  3月 15  2019 ifconfigsub.sh
-rwxr-xr-x 1 oracle oinstall    743  3月 15  2019 iosub.sh
-rwxr-xr-x 1 oracle oinstall   1486  3月 15  2019 ltop.sh
-rwxr-xr-x 1 oracle oinstall    542  3月 15  2019 mpsub.sh
-rwxr-xr-x 1 oracle oinstall    740  3月 15  2019 nfssub.sh
-rwxr-xr-x 1 oracle oinstall  19991  3月 15  2019 oswbb.pm
-rwxr-xr-x 1 oracle oinstall 313564  3月 15  2019 oswbba.jar
-rwxr-xr-x 1 oracle oinstall    414  3月 15  2019 oswib.sh
-rwxr-xr-x 1 oracle oinstall    435  3月 15  2019 oswnet.sh
-rwxr-xr-x 1 oracle oinstall    825  3月 15  2019 oswrds.sh
-rwxr-xr-x 1 oracle oinstall    524  3月 15  2019 oswsub.sh
-rwxr-xr-x 1 oracle oinstall   1445  3月 15  2019 psmemsub.sh
drwxr-xr-x 2 oracle oinstall    136  4月 17  2019 src
-rwxr-xr-x 1 oracle oinstall   2574  3月 15  2019 startOSWbb.sh
-rwxr-xr-x 1 oracle oinstall    558  3月 15  2019 stopOSWbb.sh
-rwxr-xr-x 1 oracle oinstall   4219  3月 15  2019 tar_up_partial_archive.sh
-rwxr-xr-x 1 oracle oinstall    746  3月 15  2019 tarupfiles.sh
-rwxr-xr-x 1 oracle oinstall    527  3月 15  2019 topaix.sh
-rwxr-xr-x 1 oracle oinstall    545  3月 15  2019 vmsub.sh
-rwxr-xr-x 1 oracle oinstall   1486  3月 15  2019 xtop.sh
[oracle@sdb01 oswbb]$

起動する

起動してみます。 
なんか重くて調査したい、とか負荷絡みのテストなどで使うことになるのでしょう。
投げっぱなし想定で、nohupしています。

30秒ごとに情報取得し、1時間流す の引数設定です。

[oracle@sdb01 oswbb]$ nohup ./startOSWbb.sh 30 1
nohup: 入力を無視し、出力を `nohup.out' に追記します
[oracle@sdb01 oswbb]$

ここで、再度ディレクトリ内を見るとarchiveというディレクトリが
新たにできています。 さらに覗くと、いろいろ入っています。
中身は後ほど確認してみます。

[oracle@sdb01 oswbb]$ ls -l
合計 476
-rwxr-xr-x  1 oracle oinstall  46453  3月 15  2019 OSWatcher.sh
-rwxr-xr-x  1 oracle oinstall   6416  3月 15  2019 OSWatcherFM.sh
drwxr-xr-x 12 oracle oinstall    176  8月 17 16:45 archive
-rwxr-xr-x  1 oracle oinstall     67  3月 15  2019 call_du.sh
-rwxr-xr-x  1 oracle oinstall     68  3月 15  2019 call_sar.sh
-rwxr-xr-x  1 oracle oinstall     71  3月 15  2019 call_uptime.sh
-rwxr-xr-x  1 oracle oinstall   3990  3月 15  2019 genprvnet.sh
-rwxr-xr-x  1 oracle oinstall    772  3月 15  2019 ifconfigsub.sh
-rwxr-xr-x  1 oracle oinstall    743  3月 15  2019 iosub.sh
drwxr-xr-x  2 oracle oinstall      6  8月 17 16:45 locks
-rwxr-xr-x  1 oracle oinstall   1486  3月 15  2019 ltop.sh
-rwxr-xr-x  1 oracle oinstall    542  3月 15  2019 mpsub.sh
-rwxr-xr-x  1 oracle oinstall    740  3月 15  2019 nfssub.sh
-rw-------  1 oracle oinstall   1412  8月 17 16:46 nohup.out
-rwxr-xr-x  1 oracle oinstall  19991  3月 15  2019 oswbb.pm
-rwxr-xr-x  1 oracle oinstall 313564  3月 15  2019 oswbba.jar
-rwxr-xr-x  1 oracle oinstall    414  3月 15  2019 oswib.sh
-rwxr-xr-x  1 oracle oinstall    435  3月 15  2019 oswnet.sh
-rwxr-xr-x  1 oracle oinstall    825  3月 15  2019 oswrds.sh
-rwxr-xr-x  1 oracle oinstall    524  3月 15  2019 oswsub.sh
-rwxr-xr-x  1 oracle oinstall   1445  3月 15  2019 psmemsub.sh
drwxr-xr-x  2 oracle oinstall    136  4月 17  2019 src
-rwxr-xr-x  1 oracle oinstall   2574  3月 15  2019 startOSWbb.sh
-rwxr-xr-x  1 oracle oinstall    558  3月 15  2019 stopOSWbb.sh
-rwxr-xr-x  1 oracle oinstall   4219  3月 15  2019 tar_up_partial_archive.sh
-rwxr-xr-x  1 oracle oinstall    746  3月 15  2019 tarupfiles.sh
drwxr-xr-x  2 oracle oinstall      6  8月 17 16:45 tmp
-rwxr-xr-x  1 oracle oinstall    527  3月 15  2019 topaix.sh
-rwxr-xr-x  1 oracle oinstall    545  3月 15  2019 vmsub.sh
-rwxr-xr-x  1 oracle oinstall   1486  3月 15  2019 xtop.sh
[oracle@sdb01 oswbb]$ ls -l archive
合計 0
drwxr-xr-x 2 oracle oinstall 46  8月 17 16:46 oswifconfig
drwxr-xr-x 2 oracle oinstall 44  8月 17 16:46 oswiostat
drwxr-xr-x 2 oracle oinstall 45  8月 17 16:46 oswmeminfo
drwxr-xr-x 2 oracle oinstall 44  8月 17 16:46 oswmpstat
drwxr-xr-x 2 oracle oinstall 45  8月 17 16:46 oswnetstat
drwxr-xr-x 2 oracle oinstall  6  8月 17 16:45 oswprvtnet
drwxr-xr-x 2 oracle oinstall 40  8月 17 16:46 oswps
drwxr-xr-x 2 oracle oinstall  6  8月 17 16:45 oswslabinfo
drwxr-xr-x 2 oracle oinstall 41  8月 17 16:46 oswtop
drwxr-xr-x 2 oracle oinstall 44  8月 17 16:46 oswvmstat
[oracle@sdb01 oswbb]$

稼働状況の確認

まずはプロセスを見てみました。
なんか動いてそうですね~

[oracle@sdb01 oswbb]$ ps -ef|grep OSWatcher|grep -v grep
oracle   21234     1  0 16:45 pts/0    00:00:00 /bin/sh ./OSWatcher.sh 30 1
oracle   21422 21234  0 16:46 pts/0    00:00:00 /bin/sh ./OSWatcherFM.sh 1 /opt/app/oracle/product/19.3.0/db_1/suptools/tfa/release/tfa_home/ext/oswbb/archive
[oracle@sdb01 oswbb]$

次にTFAより状況を見てみました。gridユーザーより。
ランニングぽいですね。

[root@sdb01 ~]# su - grid
最終ログイン: 2020/08/17 (月) 16:42:37 JST
[grid@sdb01 ~]$
[grid@sdb01 ~]$ tfactl toolstatus
WARNING - TFA Software is older than 180 days. Please consider upgrading TFA to the latest version.

.------------------------------------------------------------------.
|                    TOOLS STATUS - HOST : sdb01                   |
+----------------------+--------------+--------------+-------------+
| Tool Type            | Tool         | Version      | Status      |
+----------------------+--------------+--------------+-------------+
| Development Tools    | orachk       |   12.2.0.1.3 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Support Tools Bundle | oswbb        |        8.1.2 | RUNNING     |
|                      | prw          | 12.1.13.11.4 | NOT RUNNING |
+----------------------+--------------+--------------+-------------+
| TFA Utilities        | alertsummary |   12.2.1.1.0 | DEPLOYED    |
|                      | calog        |   12.2.0.1.0 | DEPLOYED    |
|                      | dbcheck      |   18.3.0.0.0 | DEPLOYED    |
|                      | dbglevel     |   12.2.1.1.0 | DEPLOYED    |
|                      | grep         |   12.2.1.1.0 | DEPLOYED    |
|                      | history      |   12.2.1.1.0 | DEPLOYED    |
|                      | ls           |   12.2.1.1.0 | DEPLOYED    |
|                      | managelogs   |   12.2.1.1.0 | DEPLOYED    |
|                      | menu         |   12.2.1.1.0 | DEPLOYED    |
|                      | param        |   12.2.1.1.0 | DEPLOYED    |
|                      | ps           |   12.2.1.1.0 | DEPLOYED    |
|                      | pstack       |   12.2.1.1.0 | DEPLOYED    |
|                      | summary      |   12.2.1.1.0 | DEPLOYED    |
|                      | tail         |   12.2.1.1.0 | DEPLOYED    |
|                      | triage       |   12.2.1.1.0 | DEPLOYED    |
|                      | vi           |   12.2.1.1.0 | DEPLOYED    |
'----------------------+--------------+--------------+-------------'

Note :-
  DEPLOYED    : Installed and Available - To be configured or run interactively.
  NOT RUNNING : Configured and Available - Currently turned off interactively.
  RUNNING     : Configured and Available.

[grid@sdb01 ~]$

停止する

1時間またずに、、、停止します。

[oracle@sdb01 oswbb]$ ./stopOSWbb.sh
[oracle@sdb01 oswbb]$ ps -ef|grep OSWatcher|grep -v grep
[oracle@sdb01 oswbb]$

止まったようです。

[root@sdb01 ~]# su - grid
最終ログイン: 2020/08/17 (月) 16:48:41 JST
[grid@sdb01 ~]$ tfactl toolstatus
WARNING - TFA Software is older than 180 days. Please consider upgrading TFA to the latest version.

.------------------------------------------------------------------.
|                    TOOLS STATUS - HOST : sdb01                   |
+----------------------+--------------+--------------+-------------+
| Tool Type            | Tool         | Version      | Status      |
+----------------------+--------------+--------------+-------------+
| Development Tools    | orachk       |   12.2.0.1.3 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Support Tools Bundle | oswbb        |        8.1.2 | NOT RUNNING |
|                      | prw          | 12.1.13.11.4 | NOT RUNNING |
+----------------------+--------------+--------------+-------------+
| TFA Utilities        | alertsummary |   12.2.1.1.0 | DEPLOYED    |
|                      | calog        |   12.2.0.1.0 | DEPLOYED    |
|                      | dbcheck      |   18.3.0.0.0 | DEPLOYED    |
|                      | dbglevel     |   12.2.1.1.0 | DEPLOYED    |
|                      | grep         |   12.2.1.1.0 | DEPLOYED    |
|                      | history      |   12.2.1.1.0 | DEPLOYED    |
|                      | ls           |   12.2.1.1.0 | DEPLOYED    |
|                      | managelogs   |   12.2.1.1.0 | DEPLOYED    |
|                      | menu         |   12.2.1.1.0 | DEPLOYED    |
|                      | param        |   12.2.1.1.0 | DEPLOYED    |
|                      | ps           |   12.2.1.1.0 | DEPLOYED    |
|                      | pstack       |   12.2.1.1.0 | DEPLOYED    |
|                      | summary      |   12.2.1.1.0 | DEPLOYED    |
|                      | tail         |   12.2.1.1.0 | DEPLOYED    |
|                      | triage       |   12.2.1.1.0 | DEPLOYED    |
|                      | vi           |   12.2.1.1.0 | DEPLOYED    |
'----------------------+--------------+--------------+-------------'

Note :-
  DEPLOYED    : Installed and Available - To be configured or run interactively.
  NOT RUNNING : Configured and Available - Currently turned off interactively.
  RUNNING     : Configured and Available.

[grid@sdb01 ~]$

中身を確認する

では、先ほどのarchiveディレクトリの中を少々漁ってみましょう。

[oracle@sdb01 archive]$ pwd
/opt/app/oracle/product/19.3.0/db_1/suptools/tfa/release/tfa_home/ext/oswbb/archive
[oracle@sdb01 archive]$ ls -l
合計 0
drwxr-xr-x 2 oracle oinstall 46  8月 17 16:46 oswifconfig
drwxr-xr-x 2 oracle oinstall 44  8月 17 16:46 oswiostat
drwxr-xr-x 2 oracle oinstall 45  8月 17 16:46 oswmeminfo
drwxr-xr-x 2 oracle oinstall 44  8月 17 16:46 oswmpstat
drwxr-xr-x 2 oracle oinstall 45  8月 17 16:46 oswnetstat
drwxr-xr-x 2 oracle oinstall  6  8月 17 16:45 oswprvtnet
drwxr-xr-x 2 oracle oinstall 40  8月 17 16:46 oswps
drwxr-xr-x 2 oracle oinstall  6  8月 17 16:45 oswslabinfo
drwxr-xr-x 2 oracle oinstall 41  8月 17 16:46 oswtop
drwxr-xr-x 2 oracle oinstall 44  8月 17 16:46 oswvmstat
[oracle@sdb01 archive]$

例として、oswtopにしてみましょう。
いかにもTOPコマンドぽいですね。

[oracle@sdb01 archive]$ cd oswtop
[oracle@sdb01 oswtop]$ ls -l
合計 28
-rw-r--r-- 1 oracle oinstall 27149  8月 17 16:49 sdb01_top_20.08.17.1600.dat
[oracle@sdb01 oswtop]$
[oracle@sdb01 oswtop]$ head -100 sdb01_top_20.08.17.1600.dat
Linux OSWbb v8.0.1
zzz ***Mon Aug 17 16:46:25 JST 2020
top - 16:46:27 up 15 min,  1 user,  load average: 0.35, 0.52, 0.51
Tasks: 307 total,   1 running, 306 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.3 us,  0.4 sy,  0.0 ni, 99.1 id,  0.1 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem :  8008436 total,  3150360 free,  2318216 used,  2539860 buff/cache
KiB Swap:  8388600 total,  8388600 free,        0 used.  4810216 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 3276 grid      20   0  436528  23656  13776 S   1.0  0.3   0:02.32 evmlogger.+
 3363 grid      20   0  880960  56680  16308 S   1.0  0.7   0:06.06 gipcd.bin
 3694 root      rt   0 1177708 150412 106472 S   1.0  1.9   0:02.83 cssdmonitor
 3699 root      rt   0 1595648 180472 107236 S   1.0  2.3   0:14.86 osysmond.b+
 3823 grid      rt   0 3083124 238940 114408 S   1.0  3.0   0:13.36 ocssd.bin
 5263 grid      -2   0 1557748  20736  17444 S   1.0  0.3   0:13.26 asm_vktm_++
 5287 grid      20   0 1572344  42256  26760 S   1.0  0.5   0:02.51 asm_lmd0_++
 5289 grid      20   0 1691972  47072  29480 S   1.0  0.6   0:02.45 asm_scmn_++
 5382 root      20   0 3700580 130920  43932 S   1.0  1.6   0:14.36 crsd.bin
 5497 grid      20   0 2839180 111508  47564 S   1.0  1.4   0:10.12 oraagent.b+
 5507 root      20   0 1346800  79124  43092 S   1.0  1.0   0:10.90 orarootage+
21461 oracle    20   0   58548   2340   1532 R   1.0  0.0   0:00.02 top
    1 root      20   0  191524   4436   2632 S   0.0  0.1   0:02.34 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.01 kthreadd
    3 root      20   0       0      0      0 S   0.0  0.0   0:00.33 kworker/0:0
    4 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:+
    6 root      20   0       0      0      0 S   0.0  0.0   0:00.42 ksoftirqd/0
    7 root      rt   0       0      0      0 S   0.0  0.0   0:00.83 migration/0
    8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh
    9 root      20   0       0      0      0 S   0.0  0.0   0:02.55 rcu_sched
   10 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 lru-add-dr+
   11 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 watchdog/0
   12 root      rt   0       0      0      0 S   0.0  0.0   0:00.02 watchdog/1
   13 root      rt   0       0      0      0 S   0.0  0.0   0:00.88 migration/1
   14 root      20   0       0      0      0 S   0.0  0.0   0:00.38 ksoftirqd/1
   16 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/1:+
   17 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 watchdog/2
   18 root      rt   0       0      0      0 S   0.0  0.0   0:00.85 migration/2
   19 root      20   0       0      0      0 S   0.0  0.0   0:00.40 ksoftirqd/2
   21 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/2:+
   22 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 watchdog/3
   23 root      rt   0       0      0      0 S   0.0  0.0   0:00.82 migration/3
   24 root      20   0       0      0      0 S   0.0  0.0   0:00.20 ksoftirqd/3
   26 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/3:+
   27 root      rt   0       0      0      0 S   0.0  0.0   0:00.02 watchdog/4
   28 root      rt   0       0      0      0 S   0.0  0.0   0:00.82 migration/4
   29 root      20   0       0      0      0 S   0.0  0.0   0:00.29 ksoftirqd/4
   31 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/4:+
   32 root      rt   0       0      0      0 S   0.0  0.0   0:00.02 watchdog/5
   33 root      rt   0       0      0      0 S   0.0  0.0   0:00.84 migration/5
   34 root      20   0       0      0      0 S   0.0  0.0   0:00.35 ksoftirqd/5
   36 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/5:+
   37 root      rt   0       0      0      0 S   0.0  0.0   0:00.28 watchdog/6
zzz ***Mon Aug 17 16:46:55 JST 2020
top - 16:46:57 up 15 min,  1 user,  load average: 0.21, 0.47, 0.49
Tasks: 307 total,   1 running, 306 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.4 us,  0.4 sy,  0.0 ni, 99.0 id,  0.1 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem :  8008436 total,  3151156 free,  2317084 used,  2540196 buff/cache
KiB Swap:  8388600 total,  8388600 free,        0 used.  4811348 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 5497 grid      20   0 2839180 111508  47564 S   3.0  1.4   0:10.51 oraagent.b+
 5263 grid      -2   0 1557748  20736  17444 S   2.0  0.3   0:13.80 asm_vktm_++
21639 oracle    20   0   58548   2336   1532 R   2.0  0.0   0:00.02 top
 3063 grid      20   0 1805760  84532  45512 S   1.0  1.1   0:05.40 oraagent.b+
 5283 grid      20   0 1591588  74264  41164 S   1.0  0.9   0:03.10 asm_dia0_++
 5507 root      20   0 1346800  79124  43092 S   1.0  1.0   0:11.36 orarootage+
 5754 grid      20   0 4106080  53400  24684 S   1.0  0.7   0:03.32 java
    1 root      20   0  191524   4436   2632 S   0.0  0.1   0:02.36 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.01 kthreadd
    3 root      20   0       0      0      0 S   0.0  0.0   0:00.33 kworker/0:0
    4 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:+
<<中略>>

たしかに、30秒単位でTOPらしきものが出力されています。

導入時はRUNNING??

どうやら、デフォでこいつが起動している可能性あり。 上ではoracleユーザーを使用しましたが、導入当初よりgridで動いているかもしれません。

PATHは以下のとおりですが、予期せぬ形で動き続けていると 意外と容量喰っているかもしれません。

[root@sdb01 ~]# cd /opt/app/grid/tfa/repository/suptools/sdb01/oswbb/
[root@sdb01 oswbb]# ls
grid  root
[root@sdb01 oswbb]# cd grid
[root@sdb01 grid]# ls
archive  oswbb  run_1596955343.log  run_1596974238.log  run_1596975352.log  run_1597651593.log
[root@sdb01 grid]# cd archive/
[root@sdb01 archive]# ls
oswifconfig  oswiostat  oswmeminfo  oswmpstat  oswnetstat  oswprvtnet  oswps  oswslabinfo  oswtop  oswvmstat
[root@sdb01 archive]#

とめるときは・・・ 先ほどの停止でもよさそうですが、gridで動いている場合、TFAより停止してみました。

[grid@sdb02 ~]$ tfactl toolstatus
WARNING - TFA Software is older than 180 days. Please consider upgrading TFA to the latest version.

.------------------------------------------------------------------.
|                    TOOLS STATUS - HOST : sdb02                   |
+----------------------+--------------+--------------+-------------+
| Tool Type            | Tool         | Version      | Status      |
+----------------------+--------------+--------------+-------------+
| Development Tools    | orachk       |   12.2.0.1.3 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Support Tools Bundle | oswbb        |        8.1.2 | RUNNING     |
|                      | prw          | 12.1.13.11.4 | NOT RUNNING |
+----------------------+--------------+--------------+-------------+
| TFA Utilities        | alertsummary |   12.2.1.1.0 | DEPLOYED    |
|                      | calog        |   12.2.0.1.0 | DEPLOYED    |
|                      | dbcheck      |   18.3.0.0.0 | DEPLOYED    |
|                      | dbglevel     |   12.2.1.1.0 | DEPLOYED    |
|                      | grep         |   12.2.1.1.0 | DEPLOYED    |
|                      | history      |   12.2.1.1.0 | DEPLOYED    |
|                      | ls           |   12.2.1.1.0 | DEPLOYED    |
|                      | managelogs   |   12.2.1.1.0 | DEPLOYED    |
|                      | menu         |   12.2.1.1.0 | DEPLOYED    |
|                      | param        |   12.2.1.1.0 | DEPLOYED    |
|                      | ps           |   12.2.1.1.0 | DEPLOYED    |
|                      | pstack       |   12.2.1.1.0 | DEPLOYED    |
|                      | summary      |   12.2.1.1.0 | DEPLOYED    |
|                      | tail         |   12.2.1.1.0 | DEPLOYED    |
|                      | triage       |   12.2.1.1.0 | DEPLOYED    |
|                      | vi           |   12.2.1.1.0 | DEPLOYED    |
'----------------------+--------------+--------------+-------------'

Note :-
  DEPLOYED    : Installed and Available - To be configured or run interactively.
  NOT RUNNING : Configured and Available - Currently turned off interactively.
  RUNNING     : Configured and Available.

[grid@sdb02 ~]$ tfactl stop oswbb
WARNING - TFA Software is older than 180 days. Please consider upgrading TFA to the latest version.
Stopped OSWatcher
[grid@sdb02 ~]$ tfactl toolstatus
WARNING - TFA Software is older than 180 days. Please consider upgrading TFA to the latest version.

.------------------------------------------------------------------.
|                    TOOLS STATUS - HOST : sdb02                   |
+----------------------+--------------+--------------+-------------+
| Tool Type            | Tool         | Version      | Status      |
+----------------------+--------------+--------------+-------------+
| Development Tools    | orachk       |   12.2.0.1.3 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Support Tools Bundle | oswbb        |        8.1.2 | STOPPED     |
|                      | prw          | 12.1.13.11.4 | NOT RUNNING |
+----------------------+--------------+--------------+-------------+
| TFA Utilities        | alertsummary |   12.2.1.1.0 | DEPLOYED    |
|                      | calog        |   12.2.0.1.0 | DEPLOYED    |
|                      | dbcheck      |   18.3.0.0.0 | DEPLOYED    |
|                      | dbglevel     |   12.2.1.1.0 | DEPLOYED    |
|                      | grep         |   12.2.1.1.0 | DEPLOYED    |
|                      | history      |   12.2.1.1.0 | DEPLOYED    |
|                      | ls           |   12.2.1.1.0 | DEPLOYED    |
|                      | managelogs   |   12.2.1.1.0 | DEPLOYED    |
|                      | menu         |   12.2.1.1.0 | DEPLOYED    |
|                      | param        |   12.2.1.1.0 | DEPLOYED    |
|                      | ps           |   12.2.1.1.0 | DEPLOYED    |
|                      | pstack       |   12.2.1.1.0 | DEPLOYED    |
|                      | summary      |   12.2.1.1.0 | DEPLOYED    |
|                      | tail         |   12.2.1.1.0 | DEPLOYED    |
|                      | triage       |   12.2.1.1.0 | DEPLOYED    |
|                      | vi           |   12.2.1.1.0 | DEPLOYED    |
'----------------------+--------------+--------------+-------------'

Note :-
  DEPLOYED    : Installed and Available - To be configured or run interactively.
  NOT RUNNING : Configured and Available - Currently turned off interactively.
  RUNNING     : Configured and Available.

[grid@sdb02 ~]$