最近刚爆出linux下glibc有重大漏洞,修复方案为升级glibc库 RHEL/CentOS下一键即可修复 : sudo yum update glibc 。或者如果本地有rpm包 直接 rpm -Uvh 直接升级包即可。yum check-update 检查可更新的所有软件包yum update...
分类:
其他好文 时间:
2015-07-23 19:41:17
阅读次数:
106
分类NsClient++来监控windows主机有三种方式:check_nt、check_nrpe、nsca。check_nt自带很多功能,但是扩展性差,check_nrpe可以通过执行自己定义的脚本做到很好地扩展(官方推荐)。原理监控端通过check_nrpe把要监控的指令发送给被监控端,被监控端...
分类:
移动开发 时间:
2015-07-23 19:39:24
阅读次数:
194
错误提示./check_oracle_health--connectorcl--modeconnection-timeCRITICAL-cannotconnecttoorcl.install_driver(Oracle)failed:Can‘tlocateDBD/Oracle.pmin@INC(@INCcontains:./usr/local/lib64/perl5/usr/local/share/perl5/usr/lib64/perl5/vendor_perl/usr/share/perl5/ve..
分类:
数据库 时间:
2015-07-23 00:54:52
阅读次数:
149
2.7 Implement a function to check if a linked list is a palindrome.LeetCode上的原题,参见我之前的博客Palindrome Linked List 回文链表。
分类:
其他好文 时间:
2015-07-22 22:22:58
阅读次数:
108
一、简介 椭圆曲线密钥参数生成及操作 二、语法 openssl ecparam [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename] [-noout] [-text] [-C] [-check] [-name arg]...
分类:
其他好文 时间:
2015-07-22 22:11:14
阅读次数:
355
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the f...
分类:
其他好文 时间:
2015-07-22 16:10:25
阅读次数:
102
CTRL + space in the textboxes gives you all kinds of suggestions for regular expression writing.查找替换Be sure to check out the \C regular expression ope...
分类:
系统相关 时间:
2015-07-21 01:20:12
阅读次数:
479
题目:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
...
分类:
编程语言 时间:
2015-07-20 23:43:46
阅读次数:
199
有一个矩阵,每次查询一个子矩阵,判断这个子矩阵的最大值是不是在这个子矩阵的四个角上裸的二维RMQ 1 #pragma comment(linker, "/STACK:1677721600") 2 #include 3 #include 4 #include 5 #include 6 #inc...
分类:
其他好文 时间:
2015-07-20 22:45:45
阅读次数:
123
check_port位置:/usr/local/nagios/libexec/代码(新建可执行文件)#!/bin/sh/usr/local/nagios/libexec/check_tcp -H $1 -p 80 -t 3if [[ $? == 0 ]] then echo "OK:80 o...
分类:
移动开发 时间:
2015-07-20 21:26:53
阅读次数:
209