Linux查看Linux系统版本信息1.查看内核版本1)方法一:登录到linux执行cat/proc/version[jhlishero@CentOS5_32bit_ip12~]$cat/proc/versionLinuxversion2.6.18-194.el5(mockbuild@builder...
分类:
系统相关 时间:
2014-07-09 23:35:18
阅读次数:
343
一、Linux下查看CPU Cache级数,每级大小dmesg | grep cache实例结果如下:二、查看Cache的关联方式在/sys/devices/system/cpu/中查看相应的文件夹如查看cpu0 的一级缓存中的有多少组,$ cat /sys/devices/system/cpu/c...
分类:
系统相关 时间:
2014-07-09 23:23:33
阅读次数:
380
mysql字符集utf8,c#写入中文后,全部显示成?,一个汉字对应一个?解决方法:在数据库连接字符串中增加字符集的说明,Charset=utf8,如MySQLConnection con = new MySQLConnection("server=127.0.0.1;uid=root;pwd=;d...
分类:
数据库 时间:
2014-07-09 21:50:29
阅读次数:
307
1. 查看内核版本命令: 1) [root@q1test01 ~]# cat /proc/version Linux version 2.6.9-22.ELsmp (bhcompile@crowe.devel.redhat.com)(gcc version 3.4.4 20050721 (R...
分类:
系统相关 时间:
2014-07-09 21:14:16
阅读次数:
346
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:
其他好文 时间:
2014-07-09 00:53:55
阅读次数:
277
还没有修改hosts,请先按前文修改。 还没安装java的,请按照前文配置。 (1)增加用户并设立公钥: sudo addgroup hadoop sudo adduser --ingroup hadoop hduser su - hduser cat $HOME/.ssh/id_rsa.pub >...
分类:
其他好文 时间:
2014-07-08 22:57:08
阅读次数:
329
BACKGROUNDThis disclosure relates generally to the field of computer graphics. More particularly, but not by way of limitation, it relates to techniqu...
分类:
其他好文 时间:
2014-07-08 22:52:36
阅读次数:
254
题目如下:
Problem A: The Monocycle
A monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel colored with fiv...
分类:
其他好文 时间:
2014-07-06 11:49:47
阅读次数:
233
直接上配置,你懂的
lai'mac:~ laijingli$ more .bash_profile
###add my scripts to the search path for convenient daily usage
export PATH=$PATH:/Users/laijingli/autoshell:/opt/local/bin:/opt/local/sbin
##...
分类:
其他好文 时间:
2014-07-06 10:12:26
阅读次数:
185
1. 查看 Linux 相关信息 版本查看# cat /etc/issueCentOS release 6.5 (Final) 位数查看# getconf LONG_BIT64 第 2 - 4 步是 Eureka Server war 包的构建,如果你嫌自己构建麻烦可以去 http://mvnrepository.com/artifact/com.netf...
分类:
系统相关 时间:
2014-07-06 09:40:21
阅读次数:
2657