码迷,mamicode.com
首页 > 系统相关 > 详细

linux 下 osw随操作系统启动而自动启动的标准脚本

时间:2014-07-23 13:33:36      阅读:226      评论:0      收藏:0      [点我收藏+]

标签:osw   oracle   os watcher   

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目录中。

 

linux 下 osw随操作系统启动而自动启动的标准脚本

标签:osw   oracle   os watcher   

原文地址:http://blog.csdn.net/msdnchina/article/details/38054569

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!