查看Linux服务器的配置信息
admin
2023-03-24 04:20:31
0次

一、目标

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

二、环境

1.浪潮物理机

2.系统centos

三、相关查询

1. 查看操作系统的版本

命令:cat /etc/redhat-release 

CentOS Linux release 7.3.1611 (Core)

2.查看系统内核

命令:uname –a

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


相关内容

热门资讯

空调连续工作多久需要停机休息 空调连续工作的时间取决于多个因素,包括空调的型号、功率、使用环境和维护情况等。一般来说,空调可以连续...
空调哪个符号是除湿的 空调除湿功能通常用一个水滴形状的符号表示。不同品牌和型号的空调遥控器可能会有所差异,但一般来说,除湿...
格力空调多长时间加一次氟利昂 1、一般情况下,空调对氟利昂的使用量是非常小的,所以在空调使用了四年左右的时候再考虑加也没问题。2、...
空调用多长时间需要加氟一次 一般情况下是五年。当出现以下这几种情况时,空调才需要加氟。1、空调的室内机和室外机各有两个接口,当接...
格调生活·C标思享荟:卡萨帝在... 9月12日的郑州龙湖金融岛,夜风轻拂,灯光璀璨。“C标时刻共传奇——卡萨帝思享荟暨20周年品牌盛典郑...
品牌价值破千亿、高端份额持续领... 9月12日,“C标时刻共传奇——卡萨帝思享荟暨20周年品牌盛典郑州站”在郑州龙湖金融岛举办。2026...
空调主板坏了修800还是换新的 空调主板坏了是修还是换新,需要考虑多个因素,以下是一些建议:1. 维修成本:如果维修费用较低,比如 ...
空调开多久需要休息多长时间 问题:空调开多久需要休息多长时间回答:1、在使用空调的过程中,一般空调开7~8个小时左右需要休息2~...
中央空调多长时间清洗一次 1、一般空调开机前清洗一次即可,空调开机中间时段再清洗一次,空调关机时清洗一次,这样比较合理。2、空...
中央空调氟利昂多久加一次 看空调制热和制冷程度,很多人的观点认为氟利昂必须一年放一次,其实这个观点是错误的,理解上面有点偏差,...