In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you about the use of the lscpu command in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The Linux common command lscpu command is to display information about the CPU schema.
Lscpu displays information about CPU schemas
Syntax lscpu [options] option-a,-- all # print online and offline CPU (default is-e)-b,-- online # print only online CPU (default of-p)-c,-- offline # print offline CPU-e,-- extended [=] # print out an extended readable format-p -- parse [=] # prints out the parsable format-s,-- sysroot # uses the specified directory as the system root directory-x,-- hex # prints the hexadecimal mask Instead of the CPU list-h,-- help # displays this help and exits-V -- version # output version information and exit parameters available columns: CPU logic CPU number CORE logic core number SOCKET logic socket number NODE logic NUMA node number BOOK logic book number CACHE shows how to share the CPU scheduling mode on cached POLARIZATION virtual hardware between CPU The physical address of type ADDRESS CPU CONFIGURED shows whether the hypervisor has assigned CPU ONLINE to show whether Linux is using CPU example [root@localhost ~] # lscpu Architecture: x86 address 64 CPU op-mode (s): 32-bit 64-bit Byte Order: Little Endian CPU (s): 4 On-line CPU (s) list: 0-3 Thread (s) per core: 1 Core (s) per socket: 4 Socket (s): 1 NUMA node (s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 30 Model name: Intel (R) Xeon (R) CPU X3430 @ 2.40GHz Stepping: 5 CPU MHz: 2394.055 BogoMIPS: 4788.11 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 819K NUMA node0 CPU (s): 0-3 Thank you for reading! This is the end of this article on "what is the use of lscpu commands in Linux?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.