CentOS Server Config Check Commands

To view the configuration information of a CentOS server, you can use the following command:

  1. View CPU information:
cat /proc/cpuinfo
  1. View memory information:
free -m
  1. Check the hard drive information:
df -h
  1. View network configuration information:
ifconfig
  1. View the system version information:
cat /etc/os-release
  1. View installed software packages information:
rpm -qa
  1. Check the system boot time:
uptime

The above command enables users to check the basic configuration information of the server, helping them understand the hardware information and system operation status.

bannerAds