Whenever we need to see basic information about our CentOS installation the following Command might be very helpful.
For CentOS version
rpm -q centos-releaseTo Check Hard Disk Size
df -hTo Check Ram Size
cat /proc/meminfo | grep MemTotalTo Check CPU Information
cat /proc/cpuinfo | grep processor | wc -l

