CentOS Server Config Check Commands
To view the configuration information of a CentOS server, you can use the following command:
- View CPU information:
cat /proc/cpuinfo
- View memory information:
free -m
- Check the hard drive information:
df -h
- View network configuration information:
ifconfig
- View the system version information:
cat /etc/os-release
- View installed software packages information:
rpm -qa
- 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.