找回密码
 注册
查看: 1248|回复: 0

Linux查看主板型号及硬件信息

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-11-22 17:00:03 | 显示全部楼层 |阅读模式
操作系统:centos release 7安装包命令查找:yum whatprovides */lspci 查看主板型号:dmidecode |grep -A16 "System Information$"
. N" ^. J- L1 s/ O  [( p9 q# dmidecode |grep -A16 "System Information$"System Information        Manufacturer: RDO        ) d$ ~5 s- C- z# |
Product Name: OpenStack Compute        ' B8 L' b: v- B
Version: 17.0.12-1.el7        / g  J+ X7 I, l" M3 J1 `) C
Serial Number: c43a9b40-2104-11ea-be01-04d4c45cb6ca        
& y$ j: \8 R1 |* T: D: tUUID: bf6482f3-cbaf-4e6f-b0ae-eab1aa234a73       ) b8 S5 N. _# c# _7 k3 z
* d$ n* ^& c( ~. R# N. W
Wake-up Type: Power Switch        8 I; B& d# F: a
SKU Number: Not Specified       % U% p  D  A& p; v6 u$ T
0 x% N1 X) T8 T2 ^! l9 T3 Z. S
Family: Virtual MachineHandle 0x0300, DMI type 3, 21 bytesChassis Information        ' D* @0 C5 M1 y+ F2 n
Manufacturer: Red Hat        Type: Other        Lock: Not Present      
) L* J; ^- D7 v2 }! { Version: RHEL 7.6.0 PC (i440FX + PIIX, 1996)        " r3 @& ^( Z3 f; W0 c1 U4 y
Serial Number: Not Specified0 s% ]" c& h1 O% Z7 e- S
内存槽及内存条: dmidecode |grep -A16 "Memory Device$"
: c. w/ j2 d5 X7 L/ f9 e2 Z# dmidecode |grep -A16 "Memory Device$"
9 Z+ |' i; N7 g! Y
% G$ b+ M+ [, D) J* p- f$ Q
9 O1 A; \4 [& o) P0 K) D: q2 M
Memory Device        Array Handle: 0x1000        Error
# M* u( q+ _- |* I* XInformation Handle: Not Provided        
% d5 n$ g/ I) s7 \9 O: h+ rTotal Width: Unknown        ' R5 R3 |& E# d+ Z+ S* P% r

- h( s( ?8 t9 C& @! F

  v- L* s$ s- \$ FData Width: Unknown        
1 \& b$ W. ^0 x  zSize: 16384 MB        Form Factor: DIMM        / D. e4 u5 e* v4 N' P
Set: None        Locator: DIMM 0        
  e3 p# L8 V3 t8 i' [4 k6 kBank Locator: Not Specified        
; t4 i+ h8 g- E7 Z  |2 @Type: RAM        
; k  Y+ f* k. rType Detail: Other        
6 ~7 G' ]. G7 H' ?2 I2 M; CSpeed: Unknown      
0 q9 O8 r# ~$ cManufacturer: Red Hat      
& H+ z; s$ D# z; v) B2 i. K. U8 l& z' f
0 }  p2 [+ D# U3 R
Serial Number: Not Specified        " L2 [/ Z: u% M" k; o# @

  O* _" L+ N& O% `( a/ U7 l3 c( M
8 W4 |* G2 y: g4 l
Asset Tag: Not Specified        % S  p- M8 n+ \" e
5 n! r/ K6 Z$ B, d
% d$ s3 f" I  ^& _' M
Part Number: Not Specified
: o" I6 q9 n, x硬盘: fdisk -l
7 P1 M" \$ F6 U) G
' n9 P+ J+ r5 w/ ]2 s2 {
3 O: _2 n% [" O7 w* f3 h
smartctl -a /dev/sda) M7 d& y- K4 I/ S# k: d; K

+ J9 R! B& Z0 F+ M
$ S1 a6 l" D. Q3 {4 L
HP SmartArray (cciss) hardware RAID controllers:
; t6 z4 X8 T( L8 r% L! l4 E. o: Z0 W  `# H: N) J* F$ p

3 o' W  D7 \9 H8 S  j/ \2 L- p! nsmartctl -d cciss,0 -a /dev/cciss/c0d0 , j  j/ E5 m! d- ]( E
$ T2 o# u/ @. i* h5 Z
3 X0 b5 u9 ^5 o  a  @, r* k
网卡: mii-tool    ' {5 R: O" d0 G& F9 o+ y

; s6 M6 j. W* ?$ o
+ P3 I1 Y+ V& ?* d
scsi/raid卡:5 t" G1 ]$ c4 x& G2 z
. q. o3 L1 U: T5 V8 D
( n7 w3 J1 X& z2 x! G1 C0 g% ]
lspcicentos$ Y1 t6 R( ~% H) p
( O* ^" w: K' q6 f( M5 h7 _# C' Z

; i, M3 D( e  g( `# e* [
6 M$ n' y: ]2 L- n
" k4 {+ Z7 m2 {, V7 z. n
相关命令安装: yum -y install smartmontools
( i" G( V! D7 T/ Z9 d* L& s8 x' y8 W$ Z8 ]3 c& ~) j/ S

! H( X' C7 z  [( A5 cyum install pciutils -y) @% ~) p/ V) g) o6 U
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 03:25 , Processed in 0.022185 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表