首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

lscpu 装配

2012-06-26 
lscpu 安装[root@util-linux-ng-2.18]# lscpuArchitecture:????????? x86_64CPU op-mode(s):??????? 32-bi

lscpu 安装

[root@util-linux-ng-2.18]# lscpu
Architecture:????????? x86_64
CPU op-mode(s):??????? 32-bit, 64-bit
CPU(s):??????????????? 16
Thread(s) per core:??? 2
Core(s) per socket:??? 4
CPU socket(s):???????? 2
NUMA node(s):????????? 2
Vendor ID:???????????? GenuineIntel
CPU family:??????????? 6
Model:???????????????? 44
Stepping:????????????? 2
CPU MHz:?????????????? 2394.076
Virtualization:??????? VT-x
L1d cache:???????????? 32K
L1i cache:???????????? 32K
L2 cache:????????????? 256K
L3 cache:????????????? 12288K
NUMA node0 CPU(s):???? 0,2,4,6,8,10,12,14
NUMA node1 CPU(s):???? 1,3,5,7,9,11,13,15

?

-----------------------------------------------------

开始系统里面并没有 lscpu 这个命令,要yum install util-linux-ng软件包,或者手动编译安装较新版本。

tar jxvf util-linux-ng-2.18.tar.bz2? #文章附件有这个软件包下载
cd util-linux-ng-2.18
./configure --enable-arch --enable-partx --enable-write
make
make install

?

OK, 可以用lscpu了,查看是属于哪个软件包:

rpm -qf `which lscpu`

?

?

热点排行