Hardware information of the test machine:
View CPU information (model)
# Cat/proc/cpuinfo | grep name | cut-F2-D: | uniq-C
8 Intel (r) Xeon (r) CPU e5410 @ 2.33 GHz
(We can see eight logical CPUs and the CPU model)
# Cat/proc/cpuinfo | grep physical | uniq-C
4 physical ID: 0
4 physical ID: 1
(It means two 4-core CPUs)
# Getconf long_bit
32
(This indicates that the current CPU runs in 32bit mode, but does not indicate that the CPU does not support 64bit)
# Cat/proc/cpuinfo | grep flags | grep 'lm '| WC-l
8
(If the result is greater than 0, 64bit computing is supported. lm indicates long mode, and Lm indicates 64bit)
Let's take a full look at the CPU details, but we don't care about most of them.
# Dmidecode | grep 'processor information'
View memory information
# Cat/proc/meminfo
# Uname-
Linux euis1 2.6.9-55. elsmp #1 SMP Fri APR 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
(View the kernel information of the current operating system)
# Cat/etc/issue | grep Linux
Red Hat Enterprise Linux as Release 4 (nahant Update 5)
(View the released version of the current operating system)
View the Machine Model
# Dmidecode | grep "product name"
View Nic Information
# Dmesg | grep-I ETH