在安装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