linux 下一个 osw先从操作系统和标准脚本主动发起

linux 下一个 osw与操作系统的引导和启动标准的脚本。osw它指的是--os watcher,这是一个显示器os这些指标shell脚本。osw监测数据一般使用oracle技能评估os资源的使用,用法将作为oracle 有些技术人员考核oracle 数据库行为(比方节点驱赶等)的參考根据。

[oracle@rac2 ~]$ cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
 
 
/bin/sh /home/oracle/oswbb/autostartosw.sh
--->上面一行是新加的


/home/oracle/oswbb/autostartosw.sh的脚本内容例如以下:
cd /home/oracle/oswbb
/usr/bin/nohup /home/oracle/oswbb/startOSWbb.sh &
 
注意:此时的osw安装在/home/oracle/oswbb夹。

版权声明:本文博客原创文章,博客,未经同意,不得转载。

原文地址:https://www.cnblogs.com/yxwkf/p/4638055.html