linux查看内存的生产商,linux下查看CPU.内存型号.pci 转自《Ivan-blog》
cat /proc/cpuinfo | grep 'physical id'
physical id : 0
physical id : 0
physical id : 0
physical id : 0
如果physical id相同,表示这是一颗4核心的CPU
查看CPU的生产商和型号:
查看生产商:
cat /proc/cpuinfo | grep ‘vendor_id’
查看型号:
cat /proc/cpuinfo | grep ‘model name’
查看频率:
cat /proc/cpuinfo | grep ‘cpu MHz’
查看核心的数量:
cat /proc/cpuinfo | grep ‘cpu cores’
free -m
total used free shared buffers cached
Mem: 4048 1708 2339 0 164 1464
-/+ buffers/cache: 80 3967
Swap: 1983 0 1983
说明: -m参数,以M字节(megabytes)为单位查看内存大小,
上面的例子中我们可以看到,内存的总大小是4048M,也就是4G
想看到更详细的内存信息?
dmidecode -t memory
# dmidecode 2.7
SMBIOS 2.5 present.
Handle 0x1000, DMI type 16, 15 bytes.
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 32 GB
Error Information Handle: Not Provided
Number Of Devices: 8
Handle 0x1100, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor:
Set: 1
Locator: DIMM1
Bank Locator: Not Specified
Type:
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 830B8089830B
Serial Number: E2940445
Asset Tag: 110818
Part Number: NT1GT72U8PB1BN-3C
Handle 0x1101, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor:
Set: 1
Locator: DIMM2
Bank Locator: Not Specified
Type:
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 830B8089830B
Serial Number: BB9C0441
Asset Tag: 110818
Part Number: NT1GT72U8PB1BN-3C
Handle 0x1102, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor:
Set: 2
Locator: DIMM3
Bank Locator: Not Specified
Type:
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 830B8089830B
Serial Number: 39A10445
Asset Tag: 110818
Part Number: NT1GT72U8PB1BN-3C
Handle 0x1103, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor:
Set: 2
Locator: DIMM4
Bank Locator: Not Specified
Type:
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 830B8089830B
Serial Number: BA9A0442
Asset Tag: 110818
Part Number: NT1GT72U8PB1BN-3C
Handle 0x1104, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor:
Set: 3
Locator: DIMM5
Bank Locator: Not Specified
Type:
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Handle 0x1105, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor:
Set: 3
Locator: DIMM6
Bank Locator: Not Specified
Type:
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Handle 0x1106, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor:
Set: 4
Locator: DIMM7
Bank Locator: Not Specified
Type:
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Handle 0x1107, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor:
Set: 4
Locator: DIMM8
Bank Locator: Not Specified
Type:
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
从上面我们可以看到有4条1G的内存被安装在前4条内存插槽上,而locator从DIMM5-DIMM8是空着的
前四条内存的型号为:Part Number: NT1GT72U8PB1BN-3C
生产商的ID是:Manufacturer: 830B8089830B
1,查看pci的相关信息
先解释一下概念:
什么是PCI
Peripheral Component Interconnect,外围设备互联,
它是计算机上面应用的设备总线(总线,就是bus,是传输数据信号的通道)
lspci
这个命令默认是已经安装的,
如找不到此命令,可以安装pciutils这个包
命令举例:
lspci
00:00.0 Host bridge: Intel Corporation 5000X Chipset Memory
Controller Hub (rev 12)
00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI
Express x4 Port 2 (rev 12)
00:03.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI
Express x4 Port 3 (rev 12)
00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI
Express x8 Port 4-5 (rev 12)
00:05.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI
Express x4 Port 5 (rev 12)
00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI
Express x8 Port 6-7 (rev 12)
00:07.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI
Express x4 Port 7 (rev 12)
00:10.0 Host bridge: Intel Corporation 5000 Series Chipset FSB
Registers (rev 12)
00:10.1 Host bridge: Intel Corporation 5000 Series Chipset FSB
Registers (rev 12)
00:10.2 Host bridge: Intel Corporation 5000 Series Chipset FSB
Registers (rev 12)
00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved
Registers (rev 12)
00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved
Registers (rev 12)
00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD
Registers (rev 12)
00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD
Registers (rev 12)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset
PCI Express Root Port 1 (rev 09)
00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100
Chipset UHCI USB Controller #1 (rev 09)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100
Chipset UHCI USB Controller #2 (rev 09)
00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100
Chipset UHCI USB Controller #3 (rev 09)
00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100
Chipset UHCI USB Controller #4 (rev 09)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100
Chipset EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev
d9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset
LPC Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE
Controller (rev 09)
01:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E
PCI-Express Fusion-MPT SAS (rev 08)
02:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev
c3)
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II
BCM5708 Gigabit Ethernet (rev 12)
04:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Upstream Port (rev 01)
04:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
to PCI-X Bridge (rev 01)
05:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Downstream Port E1 (rev 01)
05:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Downstream Port E2 (rev 01)
06:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev
c3)
07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II
BCM5708 Gigabit Ethernet (rev 12)
0e:0d.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev
02)
从中看到的信息:Ethernet controller:这个是网卡
VGA compatible controller:这个是显卡
USB Controller: USB控制器
SCSI storage controller: SCSI的存储控制器
说明:如果你感觉这份信息还不够详细,
那么可以在后面添加参数,有3个参数可以使用:
lspci -v verbose 详细
lspci -vv very verbose 很详细
lspci -vvv even more verbose 更详细
以树结构来显示pci总线:
lspci -tv
简单显示:
lspci -n
00:00.0 0600: 8086:25c0 (rev 12)
00:02.0 0604: 8086:25e2 (rev 12)
00:03.0 0604: 8086:25e3 (rev 12)
00:04.0 0604: 8086:25f8 (rev 12)
00:05.0 0604: 8086:25e5 (rev 12)
00:06.0 0604: 8086:25f9 (rev 12)
00:07.0 0604: 8086:25e7 (rev 12)
00:10.0 0600: 8086:25f0 (rev 12)
00:10.1 0600: 8086:25f0 (rev 12)
00:10.2 0600: 8086:25f0 (rev 12)
00:11.0 0600: 8086:25f1 (rev 12)
00:13.0 0600: 8086:25f3 (rev 12)
00:15.0 0600: 8086:25f5 (rev 12)
00:16.0 0600: 8086:25f6 (rev 12)
00:1c.0 0604: 8086:2690 (rev 09)
00:1d.0 0c03: 8086:2688 (rev 09)
00:1d.1 0c03: 8086:2689 (rev 09)
00:1d.2 0c03: 8086:268a (rev 09)
00:1d.3 0c03: 8086:268b (rev 09)
00:1d.7 0c03: 8086:268c (rev 09)
00:1e.0 0604: 8086:244e (rev d9)
00:1f.0 0601: 8086:2670 (rev 09)
00:1f.1 0101: 8086:269e (rev 09)
01:00.0 0100: 1000:0058 (rev 08)
02:00.0 0604: 1166:0103 (rev c3)
03:00.0 0200: 14e4:164c (rev 12)
04:00.0 0604: 8086:3500 (rev 01)
04:00.3 0604: 8086:350c (rev 01)
05:00.0 0604: 8086:3510 (rev 01)
05:01.0 0604: 8086:3514 (rev 01)
06:00.0 0604: 1166:0103 (rev c3)
07:00.0 0200: 14e4:164c (rev 12)
0e:0d.0 0300: 1002:515e (rev 02)
显示其中的某一项:
lspci -d 14e4:164c -vvv
linux查看内存的生产商,linux下查看CPU.内存型号.pci 转自《Ivan-blog》相关推荐
- linux怎么查看oracle数据库版本,CentOS下查看Oracle数据库版本
CentOS下查看Oracle数据库版本 方法一:v$version数据库培训 SQL> select * from v$version; BANNER -------------------- ...
- linux查看固态硬盘寿命,CentOS下查看 ssd 寿命
CentOS下查看 ssd 寿命 安装必要的软件yum install -y MegaCli Lib_Utils 得到 device id/opt/MegaRAID/MegaCli/MegaCli64 ...
- python查看系统句柄数量_linux下查看系统进程占用的句柄数方法
---查看系统默认的最大文件句柄数,系统默认是1024 # ulimit -n 1024 ----查看当前进程打开了多少句柄数 # lsof -n|awk '{print $2}'|sort|uniq ...
- windos怎么查看oracle进程,在windows下查看oracle的后台进程
在linux环境下可以使用命令直接查oracle的进程,在windows下可以使用sql语句查看,不过没有linux的信息详细... SQL> select program,status fro ...
- python查看数据类型的方法_pycharm下查看python的变量类型和变量内容的方法
pycharm下查看python的变量类型和变量内容的方法 用过Matlab的同学基本都知道,程序里面的变量内容可以很方便的查看到,但python确没这么方便,对于做数据处理的很不方便,其实不是没有这 ...
- ubuntu 如何查看计算机名称,ubuntu系统下查看电脑配置的详细教程
一小伙伴的电脑是装的ubuntu系统,一天,我去他那,他问我,你看我电脑配置如何?我当时肯定不会,不过现在会了,这里便分享给大家如何看配置. 方法一: 1.因为朋友安装的是14.10版ubuntu,所 ...
- Linux Shell脚本专栏_找出占用CPU/内存过高的进程_05
文章目录 找出占用CPU/内存过高的进程 1. 脚本 2. 运行脚本 3. 效果图 找出占用CPU/内存过高的进程 1. CPU 过高的进程2. 内存 过高的进程 1. 脚本 #/bin/bash e ...
- Linux工作笔记029---Centos7.3 服务器下查看tomcat服务是否启动,重启,查看错误日志等基本操作
JAVA技术交流QQ群:170933152 启动:一般是执行sh tomcat/bin/startup.sh 停止:一般是执行sh tomcat/bin/shutdown.sh脚本命令 查看:执行 ...
- linux打印JAVA日志命令_Linux下查看日志用到的常用命令
tail -n 10 test.log 查询日志尾部最后10行的日志; tail -n +10 test.log 查询10行之后的所有日志; head: 跟tail是相反的,tail是 ...
最新文章
- html5 生存游戏,html5版生命游戏
- 查看apache、linux、kernel、nginx等版本
- 从零开始学python数据分析-从零开始学Python数据分析与挖掘 PDF 下载
- 删边(normal)
- libsvm matlab 调参数,matlab – 使用libsvm调整svm
- 联想一体机电源键不亮_联想/兄弟打印机复印一体机激光器清洁教程
- .NET Core开发实战(第5课:依赖注入:良好架构的起点)--学习笔记(上)
- 【渝粤题库】广东开放大学 Java高级编程技术 形成性考核
- MUI框架:移动端底部固定mui-bar-tab布局 - 案例篇
- [IDEA插件] - 一个不错的插件
- 妙启动_十张图带你了解中国国产奶酪巨头——妙可蓝多发展情况
- Python基础10—I/O编程
- 尽在双11:阿里巴巴技术演进与超越
- 1097: 计算平均成绩(函数专题)
- RegNet网络结构与搭建
- 网页三栏布局五种实现方式(左中右)
- centos oracle 修改监听服务名_虚拟机(Oracle Virtual Box)下ORACLE的安装
- 怎么样用云服务器进行深度学习
- 使用Win10 Hyper-V 创建虚拟机
- JavaWeb - 小米商城:商品添加到购物车
热门文章
- SpringBoot:ERROR: column “***“ is of type numeric but expression is of type character varying
- EAS BOS 报表开发
- 用计算机弹凉凉的歌词,杨宗纬/张碧晨《凉凉》歌词
- Linphone android去电增加自定义SIP消息头的流程分析
- Mni2440 linux PWM 驱动代码修改支持 频率,占空比修改--XiaoLin.Peng
- 【一起入门MachineLearning】中科院机器学习-期末题库-【计算题5+单选题19,20+简答题21】
- unity 如何制作成网页游戏版本
- [转]CDN中,字体文件的跨域问题和解决
- 学编程要什么基础,零基础呢?
- ubuntu9.04安装xmms