爱飞 发表于 2015-1-14 21:21:25

Linux教程之centos下检察网卡,主板,CPU,显卡,硬盘型号等硬件信息

如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们!检察网卡型号


#lspci|grepEthernet
00:19.0Ethernetcontroller:IntelCorporation82567V-2GigabitNetworkConnection


检察内存和cpu最间接最经常使用的下令:


#free
totalusedfreesharedbufferscached
Mem:30695045288762540628076648396152
-/+buffers/cache:560763013428
Swap:512469205124692


#cat/proc/cpuinfo
processor:0
vendor_id:GenuineIntel
cpufamily:6
model:23
modelname:Pentium(R)Dual-CoreCPUE6500@2.93GHz
stepping:10
cpuMHz:1596.000
cachesize:2048KB


检察硬盘信息(检察硬盘型号和硬盘序列号):


#df-h
FilesystemSizeUsedAvailUse%Mountedon
/dev/sda52.0G272M1.6G15%/
/dev/sda8199G188M189G1%/home
/dev/sda39.7G1.3G7.9G15%/usr
/dev/sda29.7G198M9.0G3%/var
/dev/sda199M17M77M18%/boot
***1:
#hdparm-i/dev/sda
/dev/sda:
Model=SAMSUNGHE253GJ,FwRev=1AJ30001,SerialNo=S2B5J90ZC12060
Config={Fixed}
RawCHS=16383/16/63,TrkSize=0,SectSize=0,ECCbytes=4
BuffType=unknown,BuffSize=16384kB,MaxMultSect=16,MultSect=?16?
CurCHS=16383/16/63,CurSects=16514064,LBA=yes,LBAsects=268435455
IORDY=on/off,tPIO={min:120,w/IORDY:120},tDMA={min:120,rec:120}
PIOmodes:pio0pio1pio2pio3pio4
DMAmodes:mdma0mdma1mdma2
UDMAmodes:udma0udma1udma2
AdvancedPM=yes:disabled(255)WriteCache=enabled
Driveconformsto:unknown:ATA/ATAPI-0ATA/ATAPI-1ATA/ATAPI-2ATA/ATAPI-3ATA/ATAPI-4ATA/ATAPI-5ATA/ATAPI-6ATA/ATAPI-7
*signifiesthecurrentactivemode


***2:


#dmesg|grepATA
ata1:SATAmaxUDMA/133cmd0xf190ctl0xf180bmdma0xf150irq185
ata2:SATAmaxUDMA/133cmd0xf170ctl0xf160bmdma0xf158irq185
ata1:SATAlinkup3.0Gbps(SStatus123SControl300)
ata1.00:ATA-8:SAMSUNGHE253GJ,1AJ30001,maxUDMA/133
ata2:SATAlinkdown(SStatus0SControl300)
Vendor:ATAModel:SAMSUNGHE253GJRev:1AJ3
ata3:SATAmaxUDMA/133cmd0xf130ctl0xf120bmdma0xf0f0irq185
ata4:SATAmaxUDMA/133cmd0xf110ctl0xf100bmdma0xf0f8irq185
ata3:SATAlinkdown(SStatus0SControl300)
ata4:SATAlinkdown(SStatus0SControl300)
ata5:PATAmaxUDMA/100cmd0xe040ctl0xe030bmdma0xe000irq177


#dmidecode|more
#dmidecode2.10
SMBIOS2.4present.
57structuresoccupying2318bytes.
Tableat0x000E84B0.
Handle0×0000,DMItype0,24bytes
BIOSInformation
Vendor:IntelCorp.
Version:GTG4310H.86A.0019.2009.0625.1334
ReleaseDate:06/25/2009


…..


SystemInformation办事器品牌
Manufacturer:
ProductName:(没有信息暗示非品牌或未辨认)
Version:
SerialNumber:
UUID:889BD67E-8D96-11DE-AC40-0013D4D9C9E8
Wake-upType:PowerSwitch
SKUNumber:NotSpecified
Family:NotSpecified
Handle0×0002,DMItype2,15bytes
BaseBoardInformation主板型号/主板信息
Manufacturer:IntelCorporation
ProductName:DG43GT
Version:AAE62768-300
SerialNumber:BTGT9340022N


ProcessorInformationCPU信息/CPU型号/CPU主频
SocketDesignation:PROCESSOR
Type:CentralProcessor
Family:PentiumD
Manufacturer:Intel(R)Corp.
ID:7A060100FFFBEBBF
Signature:Type0,Family6,Model23,Stepping10
Version:Pentium(R)Dual-CoreCPUE6500@2.93GHz
Voltage:1.2V
ExternalClock:266MHz
MaxSpeed:4000MHz
CurrentSpeed:2931MHz
Status:Populated,Enabled
Upgrade:SocketLGA775


CacheInformation硬件和CPU缓存情形
SocketDesignation:L1-Cache
Configuration:Enabled,NotSocketed,Level1
OperationalMode:WriteBack
Location:Internal
InstalledSize:32kB
MaximumSize:32kB


BIOSLanguageInformationBIOS言语
InstallableLanguages:1
en|US|iso8859-1
CurrentlyInstalledLanguage:en|US|iso8859-1


PhysicalMemoryArray主板最年夜撑持内存
Location:SystemBoardOrMotherboard
Use:SystemMemory
ErrorCorrectionType:None
MaximumCapacity:16GB
ErrorInformationHandle:NotProvided
NumberOfDevices:4
Handle0x002C,DMItype19,15bytes
MemoryArrayMappedAddress今朝的内存
StartingAddress:0×00000000000
EndingAddress:0x000FFFFFFFF
RangeSize:4GB
PhysicalArrayHandle:0x002B
PartitionWidth:0


OnBoardDeviceInformation显卡型号
Type:Video
Status:Enabled
Description:IntelrGMAX4500VideoDevice


怎样断定品牌办事器,不遭到忽悠dell品牌办事器,怎样断定没有被忽悠呢?


#dmidecode|more(假如能看到dell的型号,就能够一定没错了)


Handle0×0100,DMItype1,27bytes
SystemInformation
Manufacturer:DellInc.
ProductName:PowerEdgeT110
Version:NotSpecified
SerialNumber:J47RBP1
UUID:4C4C4544-0034-3710-8052-CAC04F425031
Wake-upType:PowerSwitch
SKUNumber:NotSpecified
Family:NotSpecified
Handle0×0200,DMItype2,9bytes
BaseBoardInformation
Manufacturer:DellInc.
ProductName:0V52N7
Version:A02
SerialNumber:..CN708210CD0166.
AssetTag:NotSpecified
Handle0×0300,DMItype3,21bytes
ChassisInformation
Manufacturer:DellInc.
Type:MainServerChassis
Lock:Present
Version:NotSpecified
SerialNumber:J47RBP1
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们!

分手快乐 发表于 2015-1-17 11:06:57

通过自学老师给的资料和向同学请教,掌握了一些基本的操作,比如挂载优盘,编译程序,在Linux环境下运行,转换目录等等。学了这些基础才能进行下面的模拟OS程序。?

若相依 发表于 2015-1-24 15:23:38

熟悉操作是日常学习Linux中的三大法宝。以下是作者学习Linux的一些个人经验,供参考:

深爱那片海 发表于 2015-2-7 18:05:15

为什么要学Linux呢?每个人都有不同的看法,下面我说说自己的感想吧。?

小妖女 发表于 2015-2-23 00:47:59

对Linux命令熟悉后,你可以开始搭建一个小的Linux网络,这是最好的实践方法。Linux是网络的代名词,Linux网络服务功能非常强大,不论是邮件服务器、Web服务器、DNS服务器等都非常完善。

愤怒的大鸟 发表于 2015-3-7 07:03:46

学习Linux半年了~个人认为不会的多在网上找资料网上有很多资料可以搜索到,LS那位说放手去搞。

海妖 发表于 2015-3-14 17:55:00

Linux的成功就在于用最少的资源最短的时间实现了所有功能,这也是符合人类进化的,相信以后节能问题会日益突出。

爱飞 发表于 2015-3-21 14:46:57

随着实验课程的结束,理论课也该结束了,说实话教OS的这两位老师是我们遇到过的不错的老师(这话放这可能不太恰当).
页: [1]
查看完整版本: Linux教程之centos下检察网卡,主板,CPU,显卡,硬盘型号等硬件信息