使用tfactl启动和停止oswatcher

在安装Oracle AHF后,oswatch每天会自动00:00会自动重启,需要用tfactl去操作oswatch。
1.使用tfactl启动和停止oswbbhttps://www.cndba.cn/hbhe0316/article/4960https://www.cndba.cn/hbhe0316/article/4960https://www.cndba.cn/hbhe0316/article/4960

https://www.cndba.cn/hbhe0316/article/4960
https://www.cndba.cn/hbhe0316/article/4960
[root@node02:/opt/oracle.ahf/bin]$ ./tfactl stop oswbb
Stopped OSWatcher
[root@node02:/opt/oracle.ahf/bin]$ ./tfactl start oswbb 60 168
Starting OSWatcher
[root@node02:/opt/oracle.ahf/bin]$ ps -ef | grep -i osw
oracle   17336     1  0 08:42 pts/3    00:00:00 /bin/sh ./OSWatcher.sh 60 168 /bin/gzip /opt/oracle.ahf/data/repository/suptools/node02/oswbb/oracle/archive
root     17374 16327  0 08:42 pts/3    00:00:00 grep --color=auto -i osw

2.查看状态https://www.cndba.cn/hbhe0316/article/4960https://www.cndba.cn/hbhe0316/article/4960https://www.cndba.cn/hbhe0316/article/4960https://www.cndba.cn/hbhe0316/article/4960https://www.cndba.cn/hbhe0316/article/4960

[root@node02:/opt/oracle.ahf/bin]$ ./tfactl toolstatus

.------------------------------------------------------------------.
|                   TOOLS STATUS - HOST : node02                   |
+----------------------+--------------+--------------+-------------+
| Tool Type            | Tool         | Version      | Status      |
+----------------------+--------------+--------------+-------------+
| Development Tools    | orachk       |   21.2.0.0.0 | DEPLOYED    |
|                      | oratop       |       14.1.2 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Support Tools Bundle | darda        | 2.10.0.R6036 | DEPLOYED    |
|                      | oswbb        |        8.3.2 | RUNNING     |
|                      | prw          | 12.1.13.11.4 | NOT RUNNING |
+----------------------+--------------+--------------+-------------+
| TFA Utilities        | alertsummary |   21.2.0.0.0 | DEPLOYED    |
|                      | calog        |   21.2.0.0.0 | DEPLOYED    |
|                      | dbglevel     |   21.2.0.0.0 | DEPLOYED    |
|                      | grep         |   21.2.0.0.0 | DEPLOYED    |
|                      | history      |   21.2.0.0.0 | DEPLOYED    |
|                      | ls           |   21.2.0.0.0 | DEPLOYED    |
|                      | managelogs   |   21.2.0.0.0 | DEPLOYED    |
|                      | menu         |   21.2.0.0.0 | DEPLOYED    |
|                      | param        |   21.2.0.0.0 | DEPLOYED    |
|                      | ps           |   21.2.0.0.0 | DEPLOYED    |
|                      | pstack       |   21.2.0.0.0 | DEPLOYED    |
|                      | summary      |   21.2.0.0.0 | DEPLOYED    |
|                      | tail         |   21.2.0.0.0 | DEPLOYED    |
|                      | triage       |   21.2.0.0.0 | DEPLOYED    |
|                      | vi           |   21.2.0.0.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.

版权声明:本文为博主原创文章,未经博主允许不得转载。

oracle,linux

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值