BACKGROUNDThe field of invention relates to the computer sciences, generally, and, more specifically, to the thermal management of components other th...
分类:
其他好文 时间:
2014-06-18 22:26:38
阅读次数:
272
BACKGROUNDMany processors include a time stamp count (TSC) counter which is typically implemented as a counter that increments at a fixed rate. Some k...
分类:
其他好文 时间:
2014-06-18 22:19:29
阅读次数:
233
delphi的取整函数round、trunc、ceil和floor 首先引入math单元uses math;1.Round(四舍六入五留双)功能说明:对一个实数进行四舍五入。(按照银行家算法) 例:vari, j: Integer;begini := Round(1.5); // i等于2j :=....
分类:
其他好文 时间:
2014-06-18 21:59:23
阅读次数:
261
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:
其他好文 时间:
2014-06-18 21:58:07
阅读次数:
220
ResolutionRed Hat Enterprise Linux 4, 5 and 6 enable Internet Protocol Version 6 (IPv6) by default. However, in certain situations, some users may fin...
分类:
系统相关 时间:
2014-06-18 20:24:54
阅读次数:
520
搭建红帽虚拟化平台RHEV之主机host安装:如何给予rhel安装host主机,详情见下文://操作系统:RHEV-HFORRedHatEnterpriseLinuxHost(v.6.5x86_64)安装3.3版本的rhev必须安装6.5以上版本的操作系统软件#安装官网下载的RHEL6.5.x86_64DVDISO:rhel-server-6.5-x86_64-dvd.isoGroup..
分类:
其他好文 时间:
2014-06-16 16:30:53
阅读次数:
200
做主从同步时的报错:mysql>changemastertomaster_host=‘192.168.10.151‘,master_user=‘repl‘,master_password=‘zrer90‘,master_log_file=‘mysql2-bin.000004‘,master_log_pos=98;ERROR1201(HY000):Couldnotinitializemasterinfostructure;moreerrormessagescanbefoundinthe..
分类:
数据库 时间:
2014-06-16 16:00:06
阅读次数:
279
批量添加主机和服务centreon的模板功能是做的非常强大的,而且优化过的nagios配置十分简单,加host的时候只需要输入了hostname,alias和ip地址就可以加一台host上去,service配在hostgroup上,这样只要把host添加到hostgroup上就可以了只添加host,service和hostgroup自己配。..
分类:
移动开发 时间:
2014-06-16 15:48:52
阅读次数:
418
linux:禁pingvim/proc/sys/net/ipv4/icmp_echo_ignore_all0代表允许1代表禁止ping.sh#!/bin/bash
foriin{2..5};
do
host=122.152.172.$i
ping-c2$host>/dev/null
if[$?=0]
then
echo"122.152.172.$iisconnected"
else
echo"122.152.172.$iisnotconnected"
fi
done显示结果..
分类:
其他好文 时间:
2014-06-16 15:37:33
阅读次数:
235
(一)
调用函数的时候如果传递参数pass-by-value,那么函数参数都是以实际实参的副本为初值,调用端所获得的亦是函数返回值的一个复件。
看下面代码:
class Person {
public:
Person();
virtual ~Person();
private:
string name;
string address;
};
...
分类:
编程语言 时间:
2014-06-16 14:57:30
阅读次数:
184