当前第2页 返回上一页
lscpu是一个命令行实用程序,用于显示有关CPU体系结构的信息。lscpu是util-linux软件包的一部分,它安装在所有Linux发行版上。
在shell提示符下,键入lscpu:
输出将如下所示,包括有关CPU数量,架构,供应商,系列,型号,速度,缓存,标志等的信息。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | Architecture: x86_64
CPU op-mode(s): 32- bit , 64- bit
Byte Order : Little Endian
CPU(s): 8
On -line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 142
Model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Stepping: 10
CPU MHz: 593.577
CPU max MHz: 3400.0000
CPU min MHz: 400.0000
BogoMIPS: 3600.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d
|
说明:与/proc/cpuinfo文件的内容不同,lscpu的输出不显示所有逻辑CPU的列表。
相关视频教程推荐:《Linux教程》
以上就是本篇文章的全部内容,希望能对大家的学习有所帮助。更多精彩内容大家可以关注php中文网相关教程栏目!!!
以上就是Linux如何获取CPU信息?的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
如何查看Linux版本信息
Linux系统如何查看当前时间
Linux文件不能被root修改
Linux权限命令是什么
关于Linux vnc server自动安装配置工具的详解(图)
Linux中用户和用户组的详细介绍
Linux在目录下如何创建文件
Linux如何设置中文
Linux外网无法ping通
什么是Linux操作系统
更多相关阅读请进入《Linux》频道 >>
转载请注明出处:木庄网络博客 » Linux如何获取CPU信息?