Software >> OS >> Unix >> Linux >> Red Hat Enterprise Linux >> How to check the number of CPU and amount of RAM

grep ^processor /proc/cpuinfo

dmesg | grep total.*RAM