- 前不久因项目需要写了开机启动其他程序的shell脚本,因工作忙,调试完给了技术支持人员,也没去注意过。到后来,有几台服务器突然被重启了,这时候领导问,怎么开机启动的脚本没起作用,还被批了一顿,哎,做事...
- 先以time为例:解决time命令输出信息的重定向问题time命令的输出信息是打印在标准错误输出上的,我们通过一个简单的尝试来验证一下。[root@web186 root]#time find . -...
- 一个诡异的bash问题今天写的一个bash脚本运行发现:test.sh: 1: #!/bin/bash: not found本以为是由于在windows下编辑导致的问题,执行dos2unix之后问题依...
- 作为长期的电脑使用者,肯定会有误删文件的经历,在 Mac OS X 和 Windows 上删除的文件都会默认进 “回收站”。在 Linux 上如果事先没有用别名(alias)修改默认的 rm 功能,r...
- 背景由于Linux缓存机制的设计,系统对缓存的使用是非常狠的,所以经常会看到某些环境内存只剩几十兆了,而应用只用了不到一半。所以在计算可用内存的时候,一定要算上缓存的部分。通常方法,就是通过free命...
- One of the questions we always get asked at meet-ups and conversations with other engineers is, “wha...
- xm list和xl list显示内存不一致的问题 在xen4.1.2上一台windows虚机碰到这个问题: # xm list test6 Name ID Mem VCPUs State Time(...
- Xen 4.2 will contain two new scheduling parameters for the credit1 scheduler which significantly inc...
- 下载所需要的安装文件:wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.02.tar.gzwget http://swupdate...
- python epoll用法import socket, selectEOL1 = b'\n\n'EOL2 = b'\n\r\n'response = b'HTTP/1.0 200 OK\r\nDa...
- xen-4.1.2+Linux-3.1.2源码编译安装以下所有命令均在CentOS6.2系统上操作。下载xen源码wget http://bits.xensource.com/oss-xen/rele...
- 在xen4.1之前,通过设置/etc/xen/xend-config.sxp中的(network-script network-bridge)可以让xend来自动设置网桥。但是xen4.1之后不建议这...
- You should always dedicate fixed amount of RAM for Xen dom0.This can be done by specifying "dom0_mem...
- 如何从centos6.0升级到centos6.2首先替换默认源为163源:mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Ba...
- What is the difference between urllib and urllib2 modules of Python?You might be intrigued by the ex...
- urllib.urlopen(url[, data[, proxies]]) : 创建一个表示远程url的类文件对象,然后像本地文件一样操作这个类文件对象来获取远程数据。参数url表示远程数据的路径,...
- urllib.urlopen(url[, data[, proxies]]) : 创建一个表示远程url的类文件对象,然后像本地文件一样操作这个类文件对象来获取远程数据。参数url表示远程数据的路径,...
- All low-level memory operations go through Xen.Guest OSes are responsible for allocating and initial...
- All low-level memory operations go through Xen.Guest OSes are responsible for allocating and initial...
- 查看进程14755(httpd)打开了哪些文件:localhost:~# lsof -p 14755COMMAND PID USER FD TYPE DEVICE SIZE NODE NAMEhttp...
- xm migrate源码分析xen动态迁移虚机的命令为:xm migrate --live <domain id> <destination machine>迁移的原理Xen live migrati...
- xm migrate源码分析xen动态迁移虚机的命令为:xm migrate --live <domain id> <destination machine>迁移的原理Xen live migrati...
- This article is written to address sometimes incorrect usage of the “dd” program to measure disk wri...
- 问题引入:问题是我们重装了一台电脑之后,发现apache的日志里突然增加了很多服务时间超长的请求,如下面两条:** - - 4913229 11227 [29/Mar/2012:09:59:58 +0...
- 同事推荐的一个Web自动化测试工具:Selenium IDE需要Firefox/Firebug,并安装Selenium IDE 插件下载地址:http://seleniumhq.org/downloa...
- Amazon EBS全称是Elastice Block Store, 功能是为EC2提供可靠的块设备存储, 对于用户来说EBS就是一个磁盘, 磁盘上面可以安装数据库、文件系统等各种应用,EBS主要用在...
- aws架构的总结http://openfoo.org/blog/amazon_ec2_underlying_architecture.htmlMany people know that Amazon ...
- In this posting, I summarize my prior three posts on the three cloud computing offerings: Infrastruc...










