以下是对NUMA和cgroup的初次实践分享,仅供参考。详细介绍请参考:https://access.redhat.com/site/documentation/zh-CN/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/一、线上程序现象最近在不少os6.4的系统上发现机器负载较大,部分cpu使用率很高,但部分cpu..
分类:
其他好文 时间:
2014-05-27 03:56:17
阅读次数:
370
Install MongoDB on Red Hat Enterprise, CentOS,
Fedora, or Amazon Linux?OverviewUse this tutorial to install MongoDB on Red Hat
Enterprise Linux, CentO...
分类:
数据库 时间:
2014-05-27 01:58:54
阅读次数:
499
概述1、安装VMware Tool2、设置共享步骤开始安装VMware
Tool显示如下画面(如果宿主无法访问外网,可能会出现一个更新失败,可以无视之)通过下列命令解压、执行,分别是下面的tar和sudo的两行(下面是已有vmware
tool的情况,注意密码是登录口令,不会显示)一路按Enter,...
困惑一:window.color = "red";
var o = {color: "blue"};
function sayColor(){
alert(this.color);
}
sayColor(); //red
sayColor.call(this); //red
sayColor.call(window); //red
sayColor.call(o); //bl...
分类:
编程语言 时间:
2014-05-22 12:32:53
阅读次数:
255
Red and Black
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 21482
Accepted: 11488
Description
There is a rectangular room, covered with square tiles. Eac...
分类:
其他好文 时间:
2014-05-22 07:09:25
阅读次数:
237
【题目】
Write a program to solve a Sudoku puzzle by filling the empty cells.
Empty cells are indicated by the character '.'.
You may assume that there will be only one unique solution.
A sudoku puzzle...
...and its solution numbers marked in red.
...
分类:
其他好文 时间:
2014-05-20 17:07:34
阅读次数:
335
今天在win8上装了个vmware虚拟机,却发现一个vmware
workstation宿主机ping不通centos虚拟机,宿主机和centos虚拟机都可以正常上网。问题描述:今天在vmware
workstation9.0中新安装了CentOS6.3系统用于实验测试,安装完成后配置好IP地址、网...
分类:
其他好文 时间:
2014-05-19 19:57:00
阅读次数:
214
原文:javascript中通过className灵活查找元素
例如我们要把根据class来进行修改样式一、背景:一个表单中,要修改一些li中有class=box的样式,将它的background设置为red红色。一般的做法是我们可以先找到父级元素
,然后由父级元素找到所有相关tagName,最后,...
分类:
编程语言 时间:
2014-05-19 13:04:46
阅读次数:
332
环境:jenkins+maven+nginx+tomcat
在执行jenkins job发布项目到远程服务器,服务器使用nginx+tomcat。默认使用80端口,通过nginx转发请求。在执行tomcat:redeploy时,出现下面的错误:
[ERROR] Failed toexecute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:red...
分类:
其他好文 时间:
2014-05-18 13:38:52
阅读次数:
510
面向对象编程--再谈文本查询示例引言: 扩展第10.6节的文本查询应用程序,使我们的系统可以支持更复杂的查询。 为了说明问题,将用下面的简单小说来运行查询: Alice Emma has long flowing red hair.
Her Daddy says when the wind blows
through her hair, it looks almost alive,
l...
分类:
编程语言 时间:
2014-05-18 04:15:13
阅读次数:
564