乐敏技术驿站 2015-11-19 18:47:54 shell脚本:监控MySQL服务是否正常 方法1:监听3306端口 #!!![root@localhost baby]# cat check_mysql.sh #![root@localhost baby]# cat check_db_client.sh #!
乐敏技术驿站 2014-10-28 04:00:02 使用shell定制awr脚本 一边复制,一边得到一个快照列表查看,其实还是不太方便。首先解决快照列表的问题。一般我们需要得到如下的一个列表。前后各宽裕一个小时。这样我就简单就可以选择哪些快照是我需要的。随时查看。EOF 得到了快照列表,得到awr报告就容易得多了。
乐敏技术驿站 2014-10-10 16:51:33 Oracle新建表空间的shell脚本实例 set feedback off;set termout off;set verify off;set echo off;!!set echo off;32m The tablespace ${tablespace_name} exits!
乐敏技术驿站 2013-03-10 18:21:57 Linux/Unix shell 自动发送AWR report !!" # >>/tmp/db_${ORACLE_SID}_stauts.log MAIL_SUB=" $ORACLE_SID is not available on ${MACHINE} !@${AWR_CMD}/autoawr.sql;
乐敏技术驿站 2012-08-04 01:20:19 使用 PowerShell 加密 SQL Server 的存储过程 下面代码演示如何使用 PowerShell 脚本将 SQL Server 中的所有存储过程加密。$sp.IsEncrypted){ $sp.TextMode = $false;$sp.IsEncrypted = $true;
乐敏技术驿站 2011-06-27 06:22:45 Shell执行Oracle存储过程,获得存储过程返回值 : is_task_name - ?-- is_task_log - ?] -- oi_task_id - ?1?ID task_name, -- ?task_sign, -- ?task_status, -- ?task_log -- ?
乐敏技术驿站 2008-05-18 15:25:41 Linux下用SHELL脚本执行带输入输出参数的ORACLE存储过程并得到结 存储过程 myproc(in_num in number,out_num out number) sql脚本模板mysql.sql { var nret number;execute :nret := 0;