神剑山庄资源网 Design By www.hcban.com
1 查看CPU
1.1 查看CPU个数
# cat /proc/cpuinfo | grep "physical id" | uniq | wc -l
2 **uniq命令:删除重复行;wc –l命令:统计行数**
1.2 查看CPU核数
# cat /proc/cpuinfo | grep "cpu cores" | uniq
cpu cores : 4
1.3 查看CPU型号
# cat /proc/cpuinfo | grep 'model name' |uniq
model name : Intel(R) Xeon(R) CPU E5630 @ 2.53GHz
总结:该服务器有2个4核CPU,型号Intel(R) Xeon(R) CPU E5630 @ 2.53GHz
2 查看内存
2.1 查看内存总数
#cat /proc/meminfo | grep MemTotal
MemTotal: 32941268 kB //内存32G
2.2 查看内存条数
本节内容引自新浪博文《Linux查看内存条数》
查看原文:
# dmidecode |grep -A16 "Memory Device$" Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 2048 MB //1条2G内存 Form Factor: DIMM Set: 1 Locator: DIMM1 Bank Locator: Not Specified Type: DDR2 Type Detail: Synchronous Speed: 667 MHz Manufacturer: 7F7F7F7F7F510000 Serial Number: 0403E324 Asset Tag: 450721 Part Number: 72T256220HR3SA -- Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 2048 MB //1条2G内存 Form Factor: DIMM Set: 1 Locator: DIMM2 Bank Locator: Not Specified Type: DDR2 Type Detail: Synchronous Speed: 667 MHz Manufacturer: 7F7F7F7F7F510000 Serial Number: 0403E324 Asset Tag: 450721 Part Number: 72T256220HR3SA -- Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: No Module Installed //1个内存空槽 Form Factor: DIMM Set: 2 Locator: DIMM3 Bank Locator: Not Specified Type: DDR2 Type Detail: Synchronous Speed: Unknown Manufacturer: Serial Number: Asset Tag: Part Number: -- Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: No Module Installed //1个内存空槽 Form Factor: DIMM Set: 2 Locator: DIMM4 Bank Locator: Not Specified Type: DDR2 Type Detail: Synchronous Speed: Unknown Manufacturer: Serial Number: Asset Tag: Part Number: -- Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: No Module Installed //1个内存空槽 Form Factor: DIMM Set: 3 Locator: DIMM5 Bank Locator: Not Specified Type: DDR2 Type Detail: Synchronous Speed: Unknown Manufacturer: Serial Number: Asset Tag: Part Number: -- Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: No Module Installed //1个内存空槽 Form Factor: DIMM Set: 3 Locator: DIMM6 Bank Locator: Not Specified Type: DDR2 Type Detail: Synchronous Speed: Unknown Manufacturer: Serial Number: Asset Tag: Part Number:
总结:该服务器有两条2G内存 ,空余4个插槽
3 查看硬盘
3.1 查看硬盘大小
# fdisk -l | grep Disk
Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
总结:硬盘大小146.7G,即厂商标称的160G
以上就是小编为大家带来的Linux下查看CPU型号,内存大小,硬盘空间的命令(详解)全部内容了,希望大家多多支持~
标签:
linux查看cpu型号命令
神剑山庄资源网 Design By www.hcban.com
神剑山庄资源网
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
神剑山庄资源网 Design By www.hcban.com
暂无Linux下查看CPU型号,内存大小,硬盘空间的命令(详解)的评论...
更新日志
2024年11月15日
2024年11月15日
- 黄乙玲1988-无稳定的爱心肝乱糟糟[日本东芝1M版][WAV+CUE]
- 群星《我们的歌第六季 第3期》[320K/MP3][70.68MB]
- 群星《我们的歌第六季 第3期》[FLAC/分轨][369.48MB]
- 群星《燃!沙排少女 影视原声带》[320K/MP3][175.61MB]
- 乱斗海盗瞎6胜卡组推荐一览 深暗领域乱斗海盗瞎卡组分享
- 炉石传说乱斗6胜卡组分享一览 深暗领域乱斗6胜卡组代码推荐
- 炉石传说乱斗本周卡组合集 乱斗模式卡组最新推荐
- 佟妍.2015-七窍玲珑心【万马旦】【WAV+CUE】
- 叶振棠陈晓慧.1986-龙的心·俘虏你(2006复黑限量版)【永恒】【WAV+CUE】
- 陈慧琳.1998-爱我不爱(国)【福茂】【WAV+CUE】
- 咪咕快游豪礼放送,百元京东卡、海量欢乐豆就在咪咕咪粉节!
- 双11百吋大屏焕新“热”,海信AI画质电视成最大赢家
- 海信电视E8N Ultra:真正的百吋,不止是大!
- 曾庆瑜1990-曾庆瑜历年精选[派森][WAV+CUE]
- 叶玉卿1999-深情之选[飞图][WAV+CUE]