lscpu 命令来自英文词组 list the CPU architecture 的缩写,其功能是显示 CPU 架构信息。 lscpu 命令会从 /proc/cpuinfo 文件中收集有关本机 CPU 架构的信息,并整理成易读的格式输出到 shell 终端,以方便运维人员了解本机 CPU 数量、架构、线程、核心、套接字等重要指标信息。
The lscpu command in Linux displays information about the CPU architecture. Here's the syntax of the tool: And here's what the man page says about it: The following Q&A-styled examples should give you a better idea on how this tool works. 在「howto
lscpu 命令 来自英文词组“list the CPU architecture”的缩写,其功能是用于显示CPU架构信息。 lscpu命令会从/proc/cpuinfo文件中收集有关本机CPU架构的信息,并整理成易读的格式输出到Shell终端,运维人员可以很方便地了解到本机CPU数量、架构、线程、核心、套接字等 ...
Use for example " lscpu | less " to see the default output without optimizations. In virtualized environments, the CPU architecture information displayed reflects the configuration of the guest operating system which is typically different from