1、时间同步安装Nagios后,有3个检查时间同步的插件,根据不同的检测目标,使用不同的插件:check_ntp:已过时,最好不要再使用;check_ntp_peer:用于检查ntp服务器的健康状况。check_ntp_time:用于检查指定的服务器与ntp服务器之间的时间差。2、如何监控LVS的状态如果要监测..
分类:
移动开发 时间:
2014-08-01 20:08:03
阅读次数:
473
高斯模糊函数的升级版本,带剪裁区域。
函数check_rect()是处理剪裁区域矩形。如果不打算剪裁,只需要设置left, top, right, bottom都为0就可以了;另外位图的存储格式是上下反转的,如果正常剪裁的话,只需要设置bottom为 -bottom即可。...
分类:
其他好文 时间:
2014-08-01 16:10:51
阅读次数:
310
在Nagios的libexec下有check_nt这个插件,它就是用来检查windows机器的服务的。其功能类似于check_nrpe。不过还需要搭配另外一个软件NSClient++,它则类似于NRPE。我们需要下载NSClient合适的版本,然后安装在被监控的windows主机上。OverviewofNRPENSClient++的原理如下图:可..
分类:
移动开发 时间:
2014-08-01 13:56:52
阅读次数:
12138
问题描述:
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
解题思路:...
分类:
其他好文 时间:
2014-08-01 13:48:11
阅读次数:
183
在驱动编程学习中,往往需要通过DbgPrint或者KdPrint来输出调试信息,对于Check版本,KdPrint只是DbgPrint的一个宏定义,而对于Free版本,KdPrint将被优化掉。这些输出信息可以通过DebugView对内核的监控来看到。KdPrint is identical to ...
分类:
数据库 时间:
2014-08-01 10:48:01
阅读次数:
245
dp[i][j][s]表示第i个人,在前j个问题解决了s个问题dp[i][j][s]=dp[i][j-1][s-1]*p[i][j]+dp[i][j-1][s]*(1-p[i][j]); 1 #include 2 #include 3 #include 4 #include 5 #include 6...
分类:
其他好文 时间:
2014-07-31 23:51:10
阅读次数:
290
centos启动时,提示错误: 1 /dev/mapper/VolGroup-lv_root contains a file system with errors,check forced. 2 /dev/mapper/VolGroup-lv_root: 3 Inodes that were par...
分类:
其他好文 时间:
2014-07-31 23:29:00
阅读次数:
3182
Same TreeGiven two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ide...
分类:
其他好文 时间:
2014-07-31 23:15:00
阅读次数:
201
1,数据库的完整性约束是针对数据更新时所做的一种检查措施,在一张数据表上回存在一个或多个约束。
2,约束一共分为5种:非空约束(NOT NULL),唯一约束(UNIQUE),主键约束(PRIMARY KEY),检查约束(CHECK),外键约束(FOREIGN KEY)。
3,定义约束的时候可以使用CONSTRAINT关键字设置约束的名称。
4,外键约束设置时可以进行级...
分类:
其他好文 时间:
2014-07-31 20:57:37
阅读次数:
210
1 2 3 4 ${item.text }5 6 7 用Jquery 方法判断checked 是否被选中.1 if($(".btn1").filter(":checked").le...
分类:
其他好文 时间:
2014-07-31 16:42:46
阅读次数:
386