Linux查看CPU,内存,硬盘命令
- 2023-06-19 05:06:20
- 来源:互联网
- 在手机上看
扫一扫立即进入手机端
1查看CPU
1.1查看CPU个数
#cat/proc/cpuinfo|grep“physicalid“|uniq|wc-l
2
**uniq命令:删除重复行;wc–l命令:统计行数**
1.2查看CPU核数
#cat/proc/cpuinfo|grep“cpucores“|uniq
cpucores:4
1.3查看CPU型号
#cat/proc/cpuinfo|grep'modelname'|uniq
modelname:Intel(R)Xeon(R)CPUE5630@2.53GHz
总结:该服务器有2个4核CPU,型号Intel(R)Xeon(R)CPUE5630@2.53GHz
2查看内存
2.1查看内存总数
#cat/proc/meminfo|grepMemTotal
MemTotal:32941268kB//内存32G
2.2查看内存条数
本节内容引自新浪博文《Linux查看内存条数》
查看原文:
#dmidecode|grep-A16“MemoryDevice$“
MemoryDevice
ArrayHandle:0x1000
ErrorInformationHandle:NotProvided
TotalWidth:72bits
DataWidth:64bits
Size:2048MB//1条2G内存
FormFactor:DIMM
Set:1
Locator:DIMM1
BankLocator:NotSpecified
Type:DDR2
TypeDetail:Synchronous
Speed:667MHz
Manufacturer:7F7F7F7F7F510000
SerialNumber:0403E324
AssetTag:450721
PartNumber:72T256220HR3SA
--
MemoryDevice
ArrayHandle:0x1000
ErrorInformationHandle:NotProvided
TotalWidth:72bits
DataWidth:64bits
Size:2048MB//1条2G内存
FormFactor:DIMM
Set:1
Locator:DIMM2
BankLocator:NotSpecified
Type:DDR2
TypeDetail:Synchronous
Speed:667MHz
Manufacturer:7F7F7F7F7F510000
SerialNumber:0403E324
AssetTag:450721
PartNumber:72T256220HR3SA
--
MemoryDevice
ArrayHandle:0x1000
ErrorInformationHandle:NotProvided
TotalWidth:72bits
DataWidth:64bits
Size:NoModuleInstalled//1个内存空槽
FormFactor:DIMM
Set:2
Locator:DIMM3
BankLocator:NotSpecified
Type:DDR2
TypeDetail:Synchronous
Speed:Unknown
Manufacturer:
SerialNumber:
AssetTag:
PartNumber:
--
MemoryDevice
ArrayHandle:0x1000
ErrorInformationHandle:NotProvided
TotalWidth:72bits
DataWidth:64bits
Size:NoModuleInstalled//1个内存空槽
FormFactor:DIMM
Set:2
Locator:DIMM4
BankLocator:NotSpecified
Type:DDR2
TypeDetail:Synchronous
Speed:Unknown
Manufacturer:
SerialNumber:
AssetTag:
相关资讯
更多-
三角洲漫游者游戏
中文|82.3M
-
joytokey电脑安装版
中文|4.5M
-
中国兰花交易网最新版
中文|61.5M
-
月子食谱怀孕育儿
中文|13.1M
-
罗技gpw鼠标驱动2022最新版
中文|
-
华硕rog armoury鼠标通用驱动程序
中文|
-
卉易购最新版
中文|52.0M
-
卉易购最新版
中文|52.0M
-
卉易购最新版
中文|52.0M