linux下檢視機器配置

2022-07-09 18:51:08 字數 1257 閱讀 5830

檢視cpu資訊:lscpu

architecture: x86_64

cpu op-mode(s): 32-bit, 64-bit

byte order: little endian

cpu(s): 48  //總邏輯cpu數:物理cpu個數*每個物理cpu核數*超執行緒數on-line cpu(s) list: 0-47thread(s) per core: 2  //超執行緒數core(s) per socket: 12  //每個物理cpu核數socket(s): 2  //物理cpu個數numa node(s): 2vendor id: genuineintel

cpu family: 6model: 79stepping: 1cpu mhz: 2200.078bogomips: 4399.33virtualization: vt-x

l1d cache: 32k

l1i cache: 32k

l2 cache: 256k

l3 cache: 30720k

numa node0 cpu(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46numa node1 cpu(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47

檢視記憶體資訊:free -g

[root@spa-123-69-58 ~]# free -g

total used free shared buffers cached

mem: 125 1 124 0 0 0

-/+ buffers/cache: 0 124swap: 62 0 62

//總記憶體為125g

檢視硬碟資訊:lsblk

[root@spa-123-69-58 ~]# lsblk

name maj:min rm size ro type mountpoint

sda 8:0 0 2.2t 0disk

├─sda1 8:1 0 1g 0 part /boot

├─sda2 8:2 0 62.5g 0part [swap]

Linux 檢視 機器配置

1.檢視核心版本命令 1 root q1test01 cat proc version linux version 2.6.9 22.elsmp bhcompile crowe.devel.redhat.com gcc version 3.4.4 20050721 3.4.4 2 1 smp mon...

Linux 檢視機器配置資訊

cat proc cpuinfoprocessor 從0開始計數,flags 如果有ht 說明和支援超執行緒技術 附1 cat proc cpuinfo grep name cut f2 d uniq c 1 intel r pentium r dual cpu e2180 2.00ghz 檢視cp...

深度學習機器配置

英文部落格是15年的一篇 配置如下 cpu xeon e5 2680 v2 是洋垃圾。好處價效比高,10核20執行緒,4記憶體通道,40lane pcie,95w,socket intel2011 mother board 華南x79 至尊 烈焰 三代 據說是寨板。好處價效比。支援伺服器記憶體rec...