惠普服务器bios查看硬件属性,查看硬件信息

查看服务器型号、序列号

root@dBOffice:/home/loveplay1983# dmidecode | grep "System Information" -A9 | egrep "Manufacture|Product|Serial"

Manufacturer: Gigabyte Technology Co., Ltd.

Product Name: X299 UD4 Pro

Serial Number: Default string

查看主板型号

root@deepgiant:/home/loveplay1983# dmidecode | grep -A16 "System Information$"

System Information

Manufacturer: Dell Inc.

Product Name: Precision 7710

Version: Not Specified

Serial Number: CR13KC2

UUID: 4C4C4544-0052-3110-8033-C3C04F4B4332

Wake-up Type: Power Switch

SKU Number: 06DA

Family: Precision

Handle 0x0002, DMI type 2, 15 bytes

Base Board Information

Manufacturer: Dell Inc.

Product Name: 0R7JMV

Version: A00

Serial Number: /CR13KC2/CN1296367Q001E/

Asset Tag: Not Specified

BIOS信息

root@deepgiant:/home/loveplay1983# dmidecode -t bios

# dmidecode 3.1

Getting SMBIOS data from sysfs.

SMBIOS 3.0.0 present.

Handle 0x0000, DMI type 0, 24 bytes

BIOS Information

Vendor: Dell Inc.

Version: 1.9.4

Release Date: 11/04/2016

Address: 0xF0000

Runtime Size: 64 kB

ROM Size: 16 MB

Characteristics:

PCI is supported

PNP is supported

BIOS is upgradeable

BIOS shadowing is allowed

Boot from CD is supported

Selectable boot is supported

EDD is supported

5.25"/1.2 MB floppy services are supported (int 13h)

3.5"/720 kB floppy services are supported (int 13h)

3.5"/2.88 MB floppy services are supported (int 13h)

Print screen service is supported (int 5h)

8042 keyboard services are supported (int 9h)

Serial services are supported (int 14h)

Printer services are supported (int 17h)

ACPI is supported

USB legacy is supported

Smart battery is supported

BIOS boot specification is supported

Function key-initiated network boot is supported

Targeted content distribution is supported

UEFI is supported

BIOS Revision: 1.9

Handle 0xF03E, DMI type 13, 22 bytes

BIOS Language Information

Language Description Format: Long

Installable Languages: 2

en|US|iso8859-1

Currently Installed Language: en|US|iso8859-1

检查内存

内存信息

root@deepgiant:/home/loveplay1983# dmidecode -t memory | head -45 | tail -23

Locator: ChannelA-DIMM0

Bank Locator: BANK 0

Type: DDR4

Type Detail: Synchronous

Speed: 2133 MT/s

Manufacturer: Micron

Serial Number: 12161215

Asset Tag: 2C0C0000

Part Number: 16ATF1G64HZ-2G1B1

Rank: 2

Configured Clock Speed: 2133 MT/s

Minimum Voltage: Unknown

Maximum Voltage: Unknown

Configured Voltage: 1.2 V

Handle 0x004A, DMI type 17, 40 bytes

Memory Device

Array Handle: 0x0048

Error Information Handle: Not Provided

Total Width: Unknown

Data Width: Unknown

Size: No Module Installed

Form Factor: DIMM

最大支持容量

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# dmidecode | grep -P "Maximum Capacity"

Maximum Capacity: 64 GB

查看内存使用情况

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# free -m

total used free shared buff/cache available

Mem: 15893 6920 6408 470 2565 8197

Swap: 15257 0 15257

网卡

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# dmesg | grep -i ethernet

[ 6.208050] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# dmesg | grep -i Ether*

[ 6.208050] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# lspci | grep -i ether

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)

检查主板信息

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# lspci | grep -i ether

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# lspci | head -10

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)

00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)

00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)

00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)

00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)

00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #2 (rev f1)

00:1c.2 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1)

CPU

型号

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

8 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz

数量 (物理)

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# grep 'physical id' /proc/cpuinfo | sort | uniq | wc -l

1

CPU数量(核数)

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# grep "processor" /proc/cpuinfo | wc -l

8

CPU(core个数)

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# grep "cores" /proc/cpuinfo | uniq

cpu cores : 4

etc....

cpu相关信息

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# lscpu | head -5

Architecture: x86_64

CPU op-mode(s): 32-bit, 64-bit

Byte Order: Little Endian

CPU(s): 8

On-line CPU(s) list: 0-7

cpu运动模式

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# getconf LONG_BIT

64

是否支持64bit

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# cat /proc/cpuinfo | grep flags | grep 'lm' | wc -l

8

如果大于0则表示支持, lm即long mode,支持则是64bit

硬盘和分区

分区挂载

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# fdisk -l | grep Disk

Disk /dev/loop0: 2.2 MiB, 2342912 bytes, 4576 sectors

Disk /dev/loop1: 55.4 MiB, 58073088 bytes, 113424 sectors

Disk /dev/loop2: 64.4 MiB, 67477504 bytes, 131792 sectors

Disk /dev/loop3: 64.8 MiB, 67915776 bytes, 132648 sectors

Disk /dev/loop4: 2.5 MiB, 2600960 bytes, 5080 sectors

Disk /dev/loop5: 162.9 MiB, 170778624 bytes, 333552 sectors

Disk /dev/loop6: 276 KiB, 282624 bytes, 552 sectors

Disk /dev/loop7: 4.2 MiB, 4431872 bytes, 8656 sectors

Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors

Disklabel type: gpt

Disk identifier: 1A9450C7-8868-410C-BCF2-60D75124A08D

Disk /dev/sda: 477 GiB, 512110190592 bytes, 1000215216 sectors

Disklabel type: dos

Disk identifier: 0x28a1d0e4

Disk /dev/loop8: 337.8 MiB, 354230272 bytes, 691856 sectors

Disk /dev/loop9: 55.5 MiB, 58159104 bytes, 113592 sectors

Disk /dev/loop10: 25.5 MiB, 26771456 bytes, 52288 se

硬盘和分区分布

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# lsblk | tail -10

├─sda2 8:2 0 232.9G 0 part /

├─sda3 8:3 0 229.1G 0 part /home

└─sda4 8:4 0 14.9G 0 part [SWAP]

nvme0n1 259:0 0 477G 0 disk

├─nvme0n1p1 259:1 0 499M 0 part

├─nvme0n1p2 259:2 0 100M 0 part

硬盘分区详细

fdisk -l

挂载情况

column -t 将输入信息转换成以列表的形式

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# mount | column -t

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)

udev on /dev type devtmpfs (rw,nosuid,relatime,size=8112452k,nr_inodes=2028113,mode=755)

devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1627528k,mode=755)

/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)

securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)

tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)

tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)

tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)

交换分区

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# swapon -s

Filename Type Size Used Priority

/dev/sda4 partition 15624188 0 -2

以人类阅读的方式查看硬盘分区以及相关类型

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# df -hT

Filesystem Type Size Used Avail Use% Mounted on

udev devtmpfs 7.8G 0 7.8G 0% /dev

tmpfs tmpfs 1.6G 3.8M 1.6G 1% /run

/dev/sda2 ext4 229G 24G 193G 12% /

tmpfs tmpfs 7.8G 196M 7.6G 3% /dev/shm

tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock

tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup

/dev/loop1 squashfs 56M 56M 0 100% /snap/core18/1944

/dev/loop0 squashfs 2.3M 2.3M 0 100% /snap/gnome-system-monitor/157

/dev/loop2 squashfs 65M 65M 0 100% /snap/gtk-common-themes/1513

硬盘全面检测

root@deepgiant:/home/loveplay1983/Workspace/test/linux/head_tail# smartctl -h | head -10

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-5.4.0-65-generic] (local build)

Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Usage: smartctl [options] device

============================================ SHOW INFORMATION OPTIONS =====

-h, --help, --usage

Display this help and exit

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值