监控作业发现一台服务器(Red Hat Enterprise Linux Server release 5.7)从凌晨1:32开始,有一小段时间无法响应,数据库也连接不上,后面又正常了。早上检查了监听日志,并没有发现错误信息。但是检查告警日志,发现有下面错误信息: Thread 1 advanced... ...
分类:
系统相关 时间:
2016-08-18 14:25:05
阅读次数:
391
今天把Redis和Mongodb的操作整理一下,方便日后自己查看,废话不多说,直接进入主题。 一、Redis 1. 引用StackExchange.Redis.dll 由于ServiceStack.Redis在4.0以上已经是商业版本需要收费了, 所以在这里我选择了StackExchange.Red ...
分类:
Web程序 时间:
2016-08-18 12:53:10
阅读次数:
246
1 table 用法--成绩表 <meta charset="utf-8"> <title>成绩表</title> </head> <!--主体部分内容--> <body bgcolor="red"> <table bgcolor="#158522" width="800" border="1"> ...
分类:
Web程序 时间:
2016-08-18 08:47:02
阅读次数:
212
We have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of these colors. ...
分类:
其他好文 时间:
2016-08-18 00:57:30
阅读次数:
163
//数组的方法 //1. concat() (concat的英文释义:合并数组;合并多个字符串;) var colors = ["red", "green", "blue"]; var color2 = colors.concat("yellow", ["black", "brown"]); con ...
分类:
编程语言 时间:
2016-08-17 22:48:08
阅读次数:
195
让echo输出彩色字符每种颜色都有相应的颜色码。比如:重置=0,黑色=30,红色=31,绿色=32,黄色=33,蓝色=34,洋红=35,青色=36,白色=37要打印彩色文本,可输入如下命令echo -e "\e[1;31m This is red text \e[0m"-e参数是支持包含转义序列的字... ...
分类:
其他好文 时间:
2016-08-17 19:25:01
阅读次数:
134
基本APIsectionsColor:['green','orange','red','grey'],//为每一层设置背景颜色controlArrows:true,//是否显示幻灯片的左右按钮verticalCentered:true,//每一页的内容是否竖直居中resize:false,//字体是... ...
一.浮动元素居中 div{ width: 100px; height: 100px; background-color: red; float: left; position: absolute; left: 50%; top: 50%; margin-left: -50px; margin-top ...
分类:
其他好文 时间:
2016-08-16 23:53:39
阅读次数:
174
<!DOCTYPE html><html> <head> <meta charset="utf-8"/> <title>回到顶部</title> <style> body{ height:1600px; } .top{ width:100%; height: 30px; background:red ...
分类:
Web程序 时间:
2016-08-16 21:38:40
阅读次数:
476
SELinux(Security-Enhanced Linux) 是美国国家安全局(NSA)对于强制访问控制的实现,是 Linux历史上最杰出的新安全子系统。在这种访问控制体系的限制下,进程只能访问那些在他的任务中所需要文件。SELinux 默认安装在 Fedora 和 Red Hat Enterp ...
分类:
系统相关 时间:
2016-08-16 11:47:44
阅读次数:
247