lscpu 安装

[[email protected]]# 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`

 

 

你可能感兴趣的:(scp)