Chinaunix首页 | 论坛 | 博客
  • 博客访问: 588395
  • 博文数量: 150
  • 博客积分: 1132
  • 博客等级: 少尉
  • 技术积分: 2067
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-11 16:46
文章分类

全部博文(150)

文章存档

2015年(15)

2014年(75)

2013年(4)

2012年(56)

发布时间:2015-03-16 16:51:10

# 总核数 = 物理CPU个数 X 每颗物理CPU的核数 # 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数# 查看物理CPU个数cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l# 查看每个物理CPU中core的个数(即核数)cat /proc/cpuinfo| grep "cpu cores"| uniq# 查看逻辑CPU的个数cat /proc/c.........【阅读全文】

阅读(2328) | 评论(0) | 转发(0)

发布时间:2015-03-13 15:39:07

http://www.rpm.org/max-rpm/index.htmlhttp://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html......【阅读全文】

阅读(922) | 评论(0) | 转发(0)

发布时间:2015-03-13 14:39:03

1. 为什么?Subpackages exist to handle cases where you don’t want to associate one spec file with one package.2. 怎么做?%package sub_package_nameBy default, the name of the subpackage will be the name of the package, a dash, and the subpackage name provided with the %package directi.........【阅读全文】

阅读(652) | 评论(0) | 转发(0)

发布时间:2015-03-12 16:59:16

1. 文件系统上的库文件更新:方法多种多样,可以用 yum 在线升级,可以手动安装 rpm 包,可以源码安装(不过这种方式不太好,一是破坏了系统原有 rpm 文件,二是新安装的库文件没有用 rpm 包管理起来)。2. 执行 ldconfig ,重构 /etc/ld.so.cache:如果用 rpm 包更新文件系统上的库文件,这步一般会隐藏在 rpm 包安装的.........【阅读全文】

阅读(564) | 评论(0) | 转发(0)

发布时间:2015-03-12 16:39:47

readelf [-d|--dynamic] elffile...Displays the contents of the file's dynamic section, if it has one.其输出与 ldd 看到的一致。......【阅读全文】

阅读(621) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册