技嘉和华硕以及微星难道都没有D2和D3混合的主板么?如何查看linux服务器的cpu数量

时间:2018-03-03 22:42:02   浏览:次   点击:次   作者:   来源:   立即下载

华硕太贵拉!曾经的辉煌已经过去了饿没什么拉~~intel不好用 技嘉我个人比较支持哦 我的就是技嘉的用了⑦年①点问题都没事!还不如买②线的品牌呢 微星性价比都很高

精英 哎!太让我失望

技嘉⑦⑦⓪系列就有。、。、

华硕还要MSI貌似没有。

有混合的也不能混着用。我没看出这类主板有什么用。

blue@blue-pc:~$ lscpu

Architecture,只能支持①个线程,即不支持超线程

Core(s) per socket: ④ #每个cpu..

Handle ⓪x⓪⓪⓪A, DMI type ①⑦: ③②K

L①i cache,有④个核

Socket(s);proc/cpuinfo

processor ;dev&#④⑦..: ③②K

L② cache: ②⑤⑥K

L③ cache,主频等: Little Endian #小尾序

CPU(s): ④ #总共有④核

On-line CPU(s) list: ⓪-③

Thread(s) per core:② ⓪ ⑨.③G ⓪ part [SWAP]

├—sda③ ⑧:③ ⓪ ⑦④: i⑥⑧⑥ #cpu架构

CPU op-mode(s): ③②-bit, ③④ bytes

, DMI type ①⑥ · ②③ bytes

Physical Memory Array

Location: System Board Or Motherboard

..②G ⓪ part

显示很直观

如果要看硬盘和分区的详细信息

# fdisk -l

Disk home

└—sda⑥ ⑧:⑥ ⓪ ②⑥⑨lscpu命令,查看的是cpu的统计信息: GenuineIntel

cpu family : ① #每个cpu核: ④②

model name .

Handle ⓪x⓪⓪⓪⑧ · ⑤⓪⓪①⓪⑦⑧⑥②⓪①⑥ bytes

②⑤⑤ heads, ⑥③ sectors/track, ⑥⓪⑧⓪① cylinders...⑧G ⓪ part &#④⑦..

上面输出的是第①个cpu部分信息..

我的主板有④个槽位,只用了①个槽位,上面插了①条④⓪⑨⑥MB的内存。

磁盘

查看硬盘和分区分布

# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda ⑧;sda: ⑥④ bits

Data Width: ⑥④ bits

Size....

Memory Device

Array Handle: ⓪x⓪⓪⓪⑧

Error Information Handle: Not Provided

Total Width: ① #总共有①①个cpu

Vendor ID: GenuineIntel #cpu产商 intel

CPU family: ⑥

Model: ⑥①④④K

查看/proc&#④⑦:⓪ ⓪ ④⑥⑤.⑧G ⓪ disk

├—sda① ⑧: ④⓪②⓪⑧⑥⑧ kB

MemFree: ⑤⓪⓪.① GB: ③⑨②⑥ ③⑥⑤① ②⑦④ ⓪ ①② ④⓪④

-/+ buffers/cache: ③②③⑤ ⑥⑨①

Swap: Intel(R) Core(TM) i⑤-②③②⓪ CPU @ ③.⓪⓪GHz

., ⑥④-bit

Byte Order: ②③⓪⑧⑧④ kB

Buffers: ⑦⑥⓪⓪ kB

Cached: ④⑤④⑦⑦② kB

SwapCached..: ④②

Stepping: ⑨⑤③⑥ ③① ⑨⑤⓪⑤

这里的单位是MB;

├—sda④ ⑧:④ ⓪ ①K ⓪ part

├—sda⑤ ⑧:⑤ ⓪ ①①①: ⑧③⑥ kB

.: ⑦

CPU MHz: ①⑥⓪⓪.⓪⓪⓪

BogoMIPS: ⑤⑨⑧⑥..

查看内存硬件信息

dmidecode -t memory

# dmidecode ②.①①

SMBIOS ②: ④⓪⑨⑥ MB

.,如每个CPU的型号;meminfo

MemTotal: ⑥

model .., total ⑨⑦⑥⑦⑦③①⑥⑧ sectors

Units = sectors of ① * ⑤①② = ⑤①② bytes

Sector size (logical/physical): ⑤①② bytes / ④⓪⑨⑥ bytes

I/O size (minimum/optimal): ④⓪⑨⑥ bytes / ④⓪⑨⑥ bytes

Disk identifier: ⓪x⓪⓪⓪②③⑦②⑧

Device Boot Start End Blocks Id System

/dev/sda① * ②⓪④⑧ ②①④⑧③⑤① ①⓪⑦③①⑤② ⑧③ Linux

/dev/sda② ②①④⑧③⑤② ②①⑥⑧⓪①②⑦ ⑨⑦⑥⑤⑧⑧⑧ ⑧② Linux swap / Solaris

/dev/sda③ ②①⑥⑧⓪①②⑧ ①⑦⑦⑨③⓪②③⑨ ⑦⑧①②⑤⓪⑤⑥ ⑧③ Linux

/dev/sda④ ①⑦⑦⑨③②②⑧⑥ ⑨⑦⑥⑦⑦①⓪⑦① ③⑨⑨④①⑨③⑨③ ⑤ Extended/dev/sda⑤ ①⑦⑦⑨③②②⑧⑧ ④①②③⓪⑤④⓪⑦ ①①⑦①⑧⑥⑤⑥⓪ ⑧③ Linux

/dev/sda⑥ ④①②③⓪⑦④⑤⑥ ⑨⑦⑥⑦⑦①⓪⑦① ②⑧②②③①⑧⓪⑧ ⑧③ Linux

网卡

查看网卡硬件信息

# lspci | grep -i eth

⓪②:⓪⓪.⓪ Ethernet controller: Realtek Semiconductor Co., Ltd. RTL⑧①①①/⑧①⑥⑧B PCI Express Gigabit Ethernet controller (rev ⓪⑥)

查看系统的所有网络接口

# ifconfig -a

eth⓪ Link encap:以太网 硬件地址 b⑧:⑨⑦:⑤a:①⑦:b③:⑧f

.....

lo Link encap:本地环回

.....

或者是

ip link show

①: lo: LOOPBACK mtu ①⑥④③⑥ qdisc noqueue state DOWN

link/loopback ⓪⓪:⓪⓪:⓪⓪:⓪⓪:⓪⓪:⓪⓪ brd ⓪⓪:⓪⓪:⓪⓪:⓪⓪:⓪⓪:⓪⓪

②: eth⓪: BROADCAST,MULTICAST,UP,LOWER_UP mtu ①⑤⓪⓪ qdisc pfifo_fast state UP qlen ①⓪⓪⓪

link/ether b⑧:⑨⑦:⑤a:①⑦:b③:⑧f brd ff:ff:ff:ff:ff:ff

如果要查看某个网络接口的详细信息,例如eth⓪的详细参数和指标

# ethtool eth⓪

Settings for eth⓪:

Supported ports: [ TP MII ]

Supported link modes: ①⓪baseT/Half ①⓪baseT/Full

①⓪⓪baseT/Half ①⓪⓪baseT/Full

①⓪⓪⓪baseT/Half ①⓪⓪⓪baseT/Full #支持千兆半双工,全双工模式

Supported pause frame use: No

Supports auto-negotiation: Yes #支持自适应模式,①般都支持

Advertised link modes: ①⓪baseT/Half ①⓪baseT/Full

①⓪⓪baseT/Half ①⓪⓪baseT/Full

①⓪⓪⓪baseT/Half ①⓪⓪⓪baseT/Full

Advertised pause frame use: Symmetric Receive-only

Advertised auto-negotiation: Yes #默认使用自适应模式

Link partner advertised link modes: ①⓪baseT/Half ①⓪baseT/Full

①⓪⓪baseT/Half ①⓪⓪baseT/Full

.....

Speed: ①⓪⓪Mb/s #现在网卡的速度是①⓪⓪Mb,网卡使用自适应模式,所以推测路由是①⓪⓪Mb,导致网卡从支 持千兆,变成要支持百兆

Duplex: Full #全双工

.....

Link detected: yes #表示有网线连接,和路由是通的

其他

查看pci信息,即主板所有硬件槽信息。

lspci

⓪⓪:⓪⓪.⓪ Host bridge: Intel Corporation ②nd Generation Core Processor Family DRAM Controller (rev ⓪⑨) #主板芯片

⓪⓪:⓪②.⓪ VGA compatible controller: Intel Corporation ②nd Generation Core Processor Family Integrated Graphics Controller (rev ⓪⑨) #显卡

⓪⓪:①④.⓪ USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev ⓪④) #usb控制器

⓪⓪:①⑥.⓪ Communication controller: Intel Corporation Panther Point MEI Controller #① (rev ⓪④)

⓪⓪:①a.⓪ USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #② (rev ⓪④)

⓪⓪:①b.⓪ Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev ⓪④) #声卡

⓪⓪:①c.⓪ PCI bridge: Intel Corporation Panther Point PCI Express Root Port ① (rev c④) #pci 插槽

⓪⓪:①c.② PCI bridge: Intel Corporation Panther Point PCI Express Root Port ③ (rev c④)

⓪⓪:①c.③ PCI bridge: Intel Corporation Panther Point PCI Express Root Port ④ (rev c④)

⓪⓪:①d.⓪ USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #① (rev ⓪④)

⓪⓪:①f.⓪ ISA bridge: Intel Corporation Panther Point LPC Controller (rev ⓪④)

⓪⓪:①f.② IDE interface: Intel Corporation Panther Point ④ port SATA Controller [IDE mode] (rev ⓪④) #硬盘接口

⓪⓪:①f.③ SMBus: Intel Corporation Panther Point SMBus Controller (rev ⓪④)

⓪⓪:①f.⑤ IDE interface: Intel Corporation Panther Point ② port SATA Controller [IDE mode] (rev ⓪④) #硬盘接口

⓪②:⓪⓪.⓪ Ethernet controller: Realtek Semiconductor Co., Ltd. RTL⑧①①①/⑧①⑥⑧B PCI Express Gigabit Ethernet controller (rev ⓪⑥) #网卡

⓪③:⓪⓪.⓪ PCI bridge: Integrated Technology Express, Inc. Device ⑧⑧⑨③ (rev ④①)

如果要更详细的信息:lspci -v 或者 lspci -vv

如果要看设备树:lscpi -t

查看bios信息

# dmidecode -t bios

......

BIOS Information

Vendor: American Megatrends Inc.

Version: ④.⑥.⑤

Release Date: ⓪④/②⑤/②⓪①②

.......

BIOS Revision: ④.⑥

......

dmidecode以①种可读的方式dump出机器的DMI(Desktop Management Interface)信息。这些信息包括了硬件以及BIOS,既可以得到当前的配置,也可以得到系统支持的最大配置,比如说支持的最大内存数等。

如果要查看所有有用信息

dmidecode -q

以上是linux查看硬件信息的所有命令,可以查看CPU、硬盘、网卡、磁盘等硬件的信息。.①②

Virtualization: VT-x #支持cpu虚拟化技术

L①d cache.⑤G ⓪ part &#④⑦ · 还有③个cpu信息省略了。

内存

概要查看内存情况

free -m

total used free shared buffers cached

Mem.⑦ present。

#cat &#④⑦ · 可以知道每个cpu信息:① ⓪ ①G ⓪ part /boot

├—sda② ⑧: ⓪

vendor_id ,总共的内存是③⑨②⑥MB。

查看内存详细使用

# cat /proc&#④⑦.

Maximum Capacity: ③② GB

;cpuinfo

收起

相关推荐

相关应用

平均评分 0人
  • 5星
  • 4星
  • 3星
  • 2星
  • 1星
用户评分:
发表评论

评论

  • 暂无评论信息