12
如何知道Linux系统的核心数?
我想找出系统中有多少个内核,因此我在Google中搜索了相同的问题。我得到了一些命令,例如lscpu命令。当我尝试此命令时,它给了我以下结果: $ lscpu Architecture: x86_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: 23 Stepping: 10 CPU MHz: 1998.000 BogoMIPS: 5302.48 Virtualization: VT-x L1d …