Linux查看配置信息

mac2026-01-04  9

1.【cpu配置】:lscpu

CPU = Socket*Core*Thread

[root@localhost /]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 #总处理器核心数量 On-line CPU(s) list: 0,1 Thread(s) per core: 1 #每个核心所支持的线程数量,1表示只支持一个线程,不支持多线程 Core(s) per socket: 2 #每个处理器的核心数 Socket(s): 1 #处理器数量 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 13 Model name: QEMU Virtual CPU version (cpu64-rhel6) Stepping: 3 CPU MHz: 2599.998 BogoMIPS: 5199.99 Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 4096K NUMA node0 CPU(s): 0,1

2.【内存】:free -m

[root@localhost ~]# free -m total used free shared buffers cache Mem: 1008 662 345 0 75 49 -/+ buffers/cache: 93 915 Swap: 259 0 259

 

最新回复(0)