欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

linux服务器查配置信息失败,查看Linux服务器的配置信息

发布时间:2023/12/4 46 豆豆
生活随笔 收集整理的这篇文章主要介绍了 linux服务器查配置信息失败,查看Linux服务器的配置信息 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

一、目标

查看服务器的相关配置,例如服务器的品牌,CPU,内存,磁盘等等信息

二、环境

1.浪潮物理机

2.系统centos

三、相关查询

1. 查看操作系统的版本

命令:cat /etc/redhat-release

CentOS Linux release 7.3.1611 (Core)

2.查看系统内核

命令:uname �Ca

Linux xxx 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64                 x86_64 GNU/Linux

3.CPU信息

命令:lscpu

Architecture:          x86_64

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

Byte Order:            Little Endian

CPU(s):                48

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

Thread(s) per core:    2

Core(s) per socket:    12

座:                 2

NUMA 节点:         2

厂商 ID:           GenuineIntel

CPU 系列:          6

型号:              79

型号名称:        Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz

步进:              1

CPU MHz:             1213.265

BogoMIPS:            4394.95

虚拟化:           VT-x

L1d 缓存:          32K

L1i 缓存:          32K

L2 缓存:           256K

L3 缓存:           30720K

NUMA 节点0 CPU:    0-11,24-35

NUMA 节点1 CPU:    12-23,36-47

4.内存信息

(1)产看内存硬件信息

命令:dmidecode -t memory

Handle 0x005C, DMI type 17, 40 bytes

Memory Device

Array Handle: 0x005A

Error Information Handle: Not Provided

Total Width: 72 bits

Data Width: 72 bits

Size: 16384 MB

Form Factor: DIMM

Set: None

Locator: CHG_0

Bank Locator: A1_Node1_Channel2_Dimm0

Type: DDR4

Type Detail: Synchronous

Speed: 2133 MHz

Manufacturer: Micron

Serial Number: 10BCEB8F

Asset Tag: CHG_0_AssetTag

Part Number: 36ASF2G72PZ-2G1A2

Rank: 2

Configured Clock Speed: 2133 MHz

Minimum Voltage: 1.2 V

Maximum Voltage: 1.2 V

Configured Voltage: 1.2 V

5:lsblk查看磁盘和分区分布

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT

sda           8:0    0 557.8G  0 disk

├─sda1        8:1    0   488M  0 part /boot

└─sda2        8:2    0 557.3G  0 part

├─cl-root 253:0    0 541.3G  0 lvm  /

└─cl-swap 253:1    0    16G  0 lvm  [SWAP]

sdb           8:16   0   1.8T  0 disk /space1

sdc           8:32   0   1.8T  0 disk /space2

sdd           8:48   0   1.8T  0 disk /space3

sde           8:64   0   1.8T  0 disk /space4

loop0         7:0    0   7.7G  0 loop /dac

6.网卡信息

命令:ethtool eth0

Settings for eno1:

Supported ports: [ TP ]

Supported link modes:10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

1000baseT/Full

Supported pause frame use: Symmetric

Supports auto-negotiation: Yes

Advertised link modes: 10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

1000baseT/Full

Advertised pause frame use: Symmetric

Advertised auto-negotiation: Yes

Speed: 1000Mb/s

Duplex: Full

Port: Twisted Pair

PHYAD: 1

Transceiver: internal

Auto-negotiation: on

MDI-X: on (auto)

Supports Wake-on: pumbg

Wake-on: g

Current message level: 0x00000007 (7)

drv probe link

Link detected: yes

7.BIOS信息

# dmidecode 3.0

Scanning /dev/mem for entry point.

SMBIOS 3.0 present.

Handle 0x0000, DMI type 0, 24 bytes

BIOS Information

Vendor: American Megatrends Inc.

Version: 4.1.12

Release Date: 10/20/2016

Address: 0xF0000

Runtime Size: 64 kB

ROM Size: 8192 kB

Characteristics:

PCI is supported

BIOS is upgradeable

BIOS shadowing is allowed

Boot from CD is supported

Selectable boot is supported

BIOS ROM is socketed

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)

Serial services are supported (int 14h)

Printer services are supported (int 17h)

ACPI is supported

USB legacy is supported

BIOS boot specification is supported

Targeted content distribution is supported

UEFI is supported

BIOS Revision: 5.6

Handle 0x007D, DMI type 13, 22 bytes

BIOS Language Information

Language Description Format: Long

Installable Languages: 1

en|US|iso8859-1

Currently Installed Language: en|US|iso8859-1

总结

以上是生活随笔为你收集整理的linux服务器查配置信息失败,查看Linux服务器的配置信息的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。