Description
Because of all the original, we may need to look at the Linux Server board model, CPU model, memory size, the number of memory lines. Because the server uses a RAID card, the usual view of the hard drive information can not be used, to be added back later!
View Motherboard model
The code is as follows |
Copy Code |
# Dmidecode |grep-a 8 "System Information" System Information Manufacturer:dell Product Name:cs24-ty Version:a00 Serial NUMBER:24Z1NL1 Uuid:2656cfcf-887a-0010-bbd8-00269e9c46dc Wake-up Type:power Switch SKU number:to is filled by O.E.M. Family:server Online check Dell Cs24-ty to find that the motherboard model is the Dell PowerEdge C1100 |
View Memory
code is as follows |
copy code |
# free-m Total used free shared buffers Cached mem:32103 31803 300 0 217 953 -/+ buffers/cache:30632 1471 swap:16383 476 15907
|
To view the number of memory strips
The code is as follows |
Copy Code |
[Root@localhost ~]# dmidecode-t memory|grep Size size:8192 MB type:other speed:1333 MHz Size:no Module Installed Size:no Module Installed size:8192 MB Size:no Module Installed Size:no Module Installed Size:no Module Installed Size:no Module Installed Size:no Module Installed size:8192 MB Size:no Module Installed Size:no Module Installed size:8192 MB Size:no Module Installed Size:no Module Installed Size:no Module Installed Size:no Module Installed Size:no Module Installed |
View hard disk size, partitioning
The code is as follows |
Copy Code |
[Root@localhost ~]# Df-h FileSystem Size Used Avail use% mounted on /dev/sda3 119G 17G 96G 15%/ Tmpfs 16G 0 16G 0%/dev/shm /DEV/SDA1 97M 32M 61M 35%/boot |
View RAID card, RAID card for Dell PERC 6/i
code is as follows |
copy code |
[root@localhost ~]# dmesg |grep-i raid dracut:rd_NO_DM:removing DM raid activation dracut:rd_NO_MD:removing MD raid Activati On AHCI 0000:00:1F.2:AHCI 0001.0200 Slots 6 ports 3 Gbps 0x3f impl RAID mode Megaraid_sas in T A-> GSI (level, low)-> IRQ Megaraid_sas 0000:04:00.0:setting Latency timer to $ MEGARAID_SAS:FW state:c0000000 Scsi6:lsi SAS based MegaRAID driver [root@localhost ~]# CAT/PROC/SCSI/SCSI Attached devices : host:scsi6 channel:02 id:00 lun:00 vendor:dell Model:perc 6/I  &N bsp; rev:1.11 type: direct-access ansi SCSI revision:05 |
View network adapters
The code is as follows |
Copy Code |
[Root@localhost ~]# Lspci | Grep-i ' ETH ' 05:00.0 Ethernet Controller:intel Corporation 82576 Gigabit Network Connection (Rev. 01) 05:00.1 Ethernet Controller:intel Corporation 82576 Gigabit Network Connection (Rev. 01) |
View number 21st network traffic
The code is as follows |
Copy Code |
# sar-n dev-f/var/log/sa/sa21 |grep eth|less |
Viewing the onboard display information
The code is as follows |
Copy Code |
[Root@localhost ~]# Dmidecode |grep-a 5 ' on Board Device ' On Board Device Information Type:video Status:enabled description:ast2050 VGA |
Memory slots and Memory strips:
The code is as follows |
Copy Code |
# Dmidecode |grep-a16 "Memory device$" |
View CPU model, frequency
The code is as follows |
Copy Code |
# cat/proc/ Cpuinfo | grep name | Cut-f2-d: | Uniq-c 8 Intel (R) Xeon (r) cpu e5410 @ 2.33GHz (see 8 logical CPUs, CPU model known) # Cat/proc/cpuinfo | grep physical | Uniq-c 4 physical id : 0 4 Physical id : 1 (note that the CPU is actually two 4 cores) # In fact, it is possible to have hyper-threading HT technology, not necessarily 4 cores, It could also be 2 core 4 threads. # getconf Long_bit (indicating that the current CPU is running in 32bit mode but does not represent CPU does not support 64bit) # Cat/proc/cpuinfo | grep flags | grep ' LM ' | Wc-l 8 (the result is greater than 0, which shows support for 64bit calculation. LM refers to long mode, support LM is 64bit) Full view CPU details. # Dmidecode | grep-a81 ' Processor information ' |