Method 1: view cpu more/proc/cpuinfo | grep "model name" grep "model name"/proc/cpuinfo if you find it more comfortable grep "model name"/proc/cpuinfo | cut -f2-d: www.2cto.com 2: view memory grep MemTotal/proc/meminfo | cut-f2-d: free-m | grep "Mem" | awk '{print $2}' 3: Check whether the cpu is 32-bit or 64-bit. Check the CPU bit (32 or 64) getconf LONG_BIT 4: view the current linux version more/etc/redhat-release cat/etc/redhat-release 5: View kernel version uname-r uname-a www.2cto.com 6: view the current time date. The preceding section describes how to synchronize the time. 7: view the hard disk and partition df-h fdisk-l. You can also view the partition du-sh. You can see all the occupied space du/etc-sh. You can see the size of this directory 8: view the installed software package view the software package cat-n/root/install installed during system installation. log more/root/install. log | wc-l view the software packages that have been installed with rpm-qa | wc-l yum list installed | wc-l is strange, but I use rpm, and yum. Www.2cto.com 9: view the keyboard layout cat/etc/sysconfig/keyboard | grep KEYTABLE | cut-f2-d = 10: view selinux sestatus | cut-f2-d: cat/etc/sysconfig/selinux 11: View ip, mac address in the ifcfg-eth0 file you can see mac, Gateway and other information. Ifconfig cat/etc/sysconfig/network-scripts/ifcfg-eth0 | grep IPADDR cat/etc/sysconfig/network-scripts/ifcfg-eth0 | grep IPADDR | cut-f2-d = ifconfig eth0 | grep "inet addr: "| awk '{print $2}' | cut-c 6-ifconfig | grep 'inet addr: '| grep-V' 127. 0.0.1 '| cut-d:-f2 | awk' {print $1} 'www.2cto.com view gateway cat/etc/sysconfig/network view dns cat/etc/resolv. conf 12: view the default LANGUAGE echo $ LANG $ LANGUAGE cat/etc/ Sysconfig/i18n 13th: Check the time zone and whether the UTC time is used cat/etc/sysconfig/clock 14th: Check the host name www.2cto.com hostname cat/etc/sysconfig/network to modify the host name, at the same time, it is best to modify the host file. View pci information lspci view hard disk information df-lh curl -- head www.2cto.com view 2cto.com server environment uptime view boot time ifconfig eth0 up enable Nic eth0/etc/initd/network restart network SERVICE