虚拟机默认情况下所拥有的资源都是不同的, 比如说CPU clock. 在一个忙碌的系统中, 虚拟机甚至可能在很短的一段时间内被拒绝分配资源给它, 这种情况还可能发生在高系统负荷, VMotion, Backup的时候. 或者说虚拟机收到了超过它可以感知的CPU资源的量, 比如说操作系统认为它有1个2...
分类:
其他好文 时间:
2014-06-28 18:10:41
阅读次数:
299
Type the following command to install ntp:# yum install -y ntpTurn on service:#chkconfig ntpd onSynchronize the system clock with 0.pool.ntp.org serve...
分类:
其他好文 时间:
2014-06-28 14:45:54
阅读次数:
185
安装vmwaretools2.修改虚拟机vmx文件tools.syncTime改为"TRUE"3.重启虚拟机此时发现时间比系统时间少了10+个小时4.修改/etc/sysconfig/clock#cat/etc/sysconfig/clockZONE="America/Los_Angeles"UTC=trueARC=falseUTC为true表示RTC保存的时间是UTC时间,false表示保存的是本地..
分类:
系统相关 时间:
2014-06-28 06:40:40
阅读次数:
372
在网上看到某人实现了一个简单的clock,发现代码编译不过,略作修改: 1 package main 2 3 import ( 4 "bufio" 5 "image" 6 "image/color" 7 "image/png" 8 "math" 9 ...
分类:
其他好文 时间:
2014-06-27 00:16:06
阅读次数:
339
xammp=apache+php+mysql 相当于一个服务集成包吧,主要是帮助用户免去配置的烦恼。
问题描述:
但是xammp也会出问题,通常是启动不了apache服务,一般会显示如下错误信息:
9:20:15 [Apache] Status change detected: stopped
9:20:15 [Apache] Error: Apache shutdown ...
分类:
其他好文 时间:
2014-06-26 07:09:38
阅读次数:
618
public sealed class Clock : PictureBox { public Clock() { SetStyle(ControlStyles.AllPaintingInWmPaint, true); ...
dateLinux时钟分为系统时钟(System Clock)和硬件(Real Time Clock,简称RTC)时钟。系统时钟是指当前Linux Kernel中的时钟,而硬件时钟则是主板上由电池供电的时钟,这个硬件时钟可以在BIOS中进行设置。当Linux启动时,硬件时钟会去读取系统时钟的设置,然...
分类:
其他好文 时间:
2014-06-25 18:32:23
阅读次数:
201
看到一篇博文写lambda和reduce函数,笔者小痒了一下,用Python实现一下:
#! /usr/bin/env python
# -*-coding:utf-8-*-
import time
import math
def test_reduce():
start_time = time.clock()
print reduce[A1] (lam...
分类:
编程语言 时间:
2014-06-24 20:37:10
阅读次数:
272
One of my Ubuntu systems would pop up the following message multiple times after logging in:System program problem detectedDo you want to report the p...
分类:
其他好文 时间:
2014-06-24 10:18:19
阅读次数:
360
最近在使用Qt(VS2010编译)的过程中,需要调用COM库,在Qt中加入了QAxContainer模块,是一个LIB库,在把编译模式从Debug改为Release 后链接报告了一堆错误-1: 错误:LNK2038: mismatch detected for '_ITERATOR_DEBUG_LE...
分类:
其他好文 时间:
2014-06-21 06:33:45
阅读次数:
489