1, look at the CPU model, here in order to facilitate viewing the combination of pipe characters with grep to match, of course, only the previous command can be, the command is as follows:
Cat grep " model name "
As a result, the CPU model and the main frequency are clearly seen,
2, look at the number of CPU bits, here are a variety of methods, we use the most direct and convenient way:
Getconf Long_bit
3. View the current operating system version under CentOS
Cat /etc/redhat-release
4. View the Linux kernel version
Only output kernel information: uname -R Output All information: uname -A
5. View the keyboard layout
Cat /etc/sysconfig/keyboard
6. Check the network card MAC address
View information for all network cards: ifconfig
The hwaddr in the figure is the MAC address of the ETH0 network card, and if there is a system that has no hwaddr, then enter is the MAC address
View information for a network adapter, such as eth0: ifconfig eth0
Other commands to view the network card address: IP link Show
Link/enter is behind the MAC address of the network card.
7. Check the time zone of the system and whether to use UTC time:
Cat /etc/sysconfig/clock
8. Check the operating time after the system is powered on
Uptime
You can see the current time 11:05, the system is running for 117 days and 5 minutes
9. View computer Memory
Free- H or free- m
-H is a humanized display,-M is displayed in m units
As you can see, there's 609M in the spare.
You can also use the command: grep memtotal/proc/meminfo for viewing, in units of K, conversion can be
10. Check the CPU's number of cores
Cat grep " CPU Cores "
About the commonly used hardware information commands to discuss these, followed by a good command to continue to update
Common hardware Information viewing commands under Linux