Crmgo Blog

System Information (CentOS, Red Hat)

System Information (CentOS, Red Hat)

Here are a few simple commands to obtain the necessary system information. View total memory: # grep MemTotal /proc/meminfo MemTotal: 515340 kB View swap memory: # grep SwapTotal /proc/meminfo SwapTotal: 1048568 kB View processor model: # grep "model name" /proc/cpuinfo model name…

System Information (CentOS, Red Hat)

Here are some simple commands to obtain the necessary system information.

View total memory
# grep MemTotal /proc/meminfo
MemTotal: 515340 kB
View swap memory

# grep SwapTotal /proc/meminfo
SwapTotal: 1048568 kB
View processor model

# grep "model name" /proc/cpuinfo
model name : Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz
View Linux distribution and version

# cat /etc/issue
CentOS release 5.4 (Final)

Kernel on an m
View Linux kernel version

# uname -r
2.6.18-164.el5

Check if the required package is installed
# rpm -q make
make-3.81-3.el5
View hostname
# hostname
alfa.alldba.ru

Note: This post may be AI-assisted and then human-edited. Editorial responsibility: Dmytro Lomaka, Kaltenkirchen.