1,查看服务器型号、序列号: [root@localho ~]#dmidecode|grep "System Information" -A9|egrep "Manufacturer|Product|Serial" Manufacturer: Dell Inc. Product Name: PowerEdge R515 Serial Number: 7P9H83X 2.Linux 查看内存的插槽数,已经使用多少插槽.每条内存多大 [root@localhost ~]#dmidecode|grep -A5 "Memory Device"|grep Size|grep -v Range Size: 4096 MB Size: 4096 MB Size: No Module Installed Size: No Module Installed Size: 4096 MB Size: 4096 MB Size: No Module Installed Size: No Module Installed 3.Linux 查看内存的频率 [root@localhost ~]#dmidecode|grep -A16 "Memory Device"|grep 'Speed' Speed: 1600 MHz (0.6 ns) Speed: 1600 MHz (0.6 ns) Speed: Unknown Speed: Unknown Speed: 1600 MHz (0.6 ns) Speed: 1600 MHz (0.6 ns) Speed: Unknown Speed: Unknown # cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 8 Intel(R) Xeon(R) CPU E5410 @ 2.33GHz 查看物理cpu个数 grep 'physical id' /proc/cpuinfo | sort -u 查看核心数量 grep 'core id' /proc/cpuinfo | sort -u | wc -l 查看线程数 grep 'processor' /proc/cpuinfo | sort -u | wc -l |
linux-常用命令-dmidecode
原创
©著作权归作者所有:来自51CTO博客作者雪山墨客的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Linux-常用命令大全
Linux系统命令大全
linux 基本命令 -
Linux-远程管理常用命令-笔记
介绍如何远程控制Linux开关机、查看网卡信息、文件操作
端口号 服务器 desktop -
Linux-文件和目录常用命令-笔记
介绍Linux中查看目录、文件的命令
linux 当前目录 文本文件