/* Drop all non-system stored procs */DECLARE @name VARCHAR(128)DECLARE @SQL VARCHAR(254)SELECT @name = (SELECT TOP 1 [name] FROM sysobjects WHERE [ty...
分类:
数据库 时间:
2014-07-26 00:04:16
阅读次数:
388
在客户端上配置nrpe监控keepalived进程[root@localhost~]#vim/usr/local/nagios/etc/nrpe.cfgcommand[check_keepalived]=/usr/local/nagios/libexec/check_procs-w2:-c:4-Ckeepalived#command[check_keepalived]=/usr/local/nagios/libexec/check_procs-c3:3-Ckeepalived注释:..
分类:
移动开发 时间:
2014-07-17 08:07:52
阅读次数:
274
define simple method定义简单方法关键字def用于方法定义,在其后是方法名和可选的参数名列表,参数名列表会用一对圆括号括住。构成方法主体的代码放在参数列表之后,end用于结束方法定义。#define a methoddef factorial(n) if n0" ...
分类:
其他好文 时间:
2014-07-06 22:23:36
阅读次数:
241