这几天,在vm box上运行centos时,突然出现了异常有规律的网卡,正常使用1,2分钟又关闭重置又正常的重复性的现象,
看着这个现象,回想现象发生前可能相关的几个操作:
1 使用yum update升级了centos的内核:经过测试,跟内核无关
2 怀疑centos系统内部的通信数据量大,导致驱动受不了?关闭了所有的非系统性的服务,还是照样;
3 怀疑驱动不稳定,切换成其它网卡还是不行...
分类:
数据库 时间:
2015-02-15 18:06:53
阅读次数:
244
DescriptionA straight dirt road connects two fields on FJ’s farm, but it changes elevation more than FJ would like. His cows do not mind climbing up or down a single slope, but they are not fond of an...
分类:
其他好文 时间:
2015-02-14 15:02:57
阅读次数:
157
CentOS是红帽发行的免费的稳定Linux版本,在企业服务器应用中都会选用Minimal版本,因为Minimal是CentOS”最纯洁”的服务器系统,因为Minimal版本连vim编辑器都需要自己安装,Minimal组件最少,无桌面,扩展灵活,非常适合做服务器。1.配置网卡Minimal版本的CentOS被安装后,网卡驱动默认是down状态,需要手动激活,在连接好网线后需要执行命令:
[root...
分类:
数据库 时间:
2015-02-14 06:34:52
阅读次数:
403
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
这道题是求一个二叉树的深度。题目中对深度的定义是:从根节点到叶节点依次经...
分类:
其他好文 时间:
2015-02-13 21:15:47
阅读次数:
156
原文地址:http://www.crifan.com/android_adt_the_connection_to_adb_is_down__and_a_severe_error_has_occured/【总结】出现The connection to adb is down, and a severe...
分类:
移动开发 时间:
2015-02-13 21:04:59
阅读次数:
163
局版的图片上传的时候需要上传到var url_path_suffix = "down/Material/";图片预览的时候是var url_path_img = "thumb/Material/";大家直接引用base-config.js中的变量拼接串就可以,STATIC_IMAGE_PRE + u...
分类:
Web程序 时间:
2015-02-13 18:05:25
阅读次数:
201
Ctrl+/或Ctrl+Shift+/注释(//或者/*…*/)Shift+F6重构-重命名Ctrl+X删除行Ctrl+D复制行Ctrl+G查找行Ctrl+Shift+Up/Down代码向上/下移动。F2或Shift+F2高亮错误或警告快速定位写代码,按Tab生成代码选中文本,按Ctrl+Shift...
分类:
Web程序 时间:
2015-02-13 16:07:55
阅读次数:
195
我们可以通过重写onTouchEvent方法来处理诸如down move up的消息:
[java] view
plaincopyprint?
public class TestButton extends Button {
public TestButton(Context context) {
su...
分类:
移动开发 时间:
2015-02-12 18:29:29
阅读次数:
198
第一组:结果是0.030.020.020.02不明白为什么?doubleamount=0.03;amount=newBigDecimal(amount).setScale(2,BigDecimal.ROUND_UP).doubleValue();System.out.println(amount);amount=newBigDecimal(amount).setScale(2,BigDecimal.ROUND_DOWN).doubleValue();System.out.print..
分类:
其他好文 时间:
2015-02-11 18:56:08
阅读次数:
143
A robot is located at the top-left corner of a m x n grid(marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. Therobot is trying to reach the bott...
分类:
其他好文 时间:
2015-02-10 23:18:37
阅读次数:
390