|||
用以下命令可以查机器型号和CPU信息:
$ sudo dmidecode | grep "Product Name"
Product Name: ProLiant DL380 G6
$ sudo dmidecode | grep CPU
Version: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz
Version: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz
$ sudo dmidecode | grep Proc
Processor Information
Socket Designation: Proc 2
Type: Central Processor
Socket Designation: Processor 1 Internal L1 Cache
Socket Designation: Processor 2 Internal L1 Cache
Socket Designation: Processor 1 Internal L2 Cache
Socket Designation: Processor 2 Internal L2 Cache
Socket Designation: Processor 1 Internal L3 Cache
Socket Designation: Processor 2 Internal L3 Cache
$ sudo more /proc/cpuinfo | grep -i "model name"
model name : Intel(R) Xeon(R) CPU E5540 @ 2.53GHz
$ sudo more /proc/cpuinfo | grep -i "cpu cores"
cpu cores : 4
$ more /proc/cpuinfo | grep -i "cache size"
cache size : 8192 KB
$ more /proc/meminfo | grep -i memtotal
MemTotal: 33003200 kB
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-2 04:17
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社