oracle 巡检脚本(自动化) 断崖修竹 2017-03-03 15:24:40 2884 收藏 2 展开 vi /home/oracle/scripts/check/Report_oracle_inspection.sql set heading off select '一、数据库的基本情况' ...
分类:
数据库 时间:
2020-05-05 00:56:21
阅读次数:
95
修改自dba大神博客:http://www.cnblogs.com/jyzhao/p/5364049.html 脚本巡检的优化:自动化,节省时间。 脚本需加强:巡检结果中有大量的sqlplus连接信息,后期考虑用shell只过滤出有用信息,优化查看。 开始介绍: 1.环境sentos6\7、redh ...
分类:
数据库 时间:
2017-12-14 23:59:19
阅读次数:
582
#!/bin/sh
# Get Hostname
HOSTNAME=`hostname`
logfile=xunjian_`date +%y%m%d`.log
hostinfodir=/home/oracle/xunjian
if [[ ! -d $hostinfodir ]]
then
mkdir -p $hostinfodir
fi
date >> $hostinfod...
分类:
数据库 时间:
2015-04-20 18:38:16
阅读次数:
222
主要通过 linux shell去把OS的相关命令和oracle的检查脚本做一个整合,并通过shell格式化输出!...
分类:
数据库 时间:
2014-08-29 16:08:58
阅读次数:
354