Home >Operation and Maintenance >Linux Operation and Maintenance >How to check system memory and hard disk size in Linux system
1. Check the system running memory size. The command is as follows:
free -m
or
free -g(Gb查看)
or (recommended learning: linux video tutorial)
cat /proc/meminfo
2. To check the hard disk size, the command is as follows:
df -hl
Related article tutorial sharing: linux tutorial
The above is the detailed content of How to check system memory and hard disk size in Linux system. For more information, please follow other related articles on the PHP Chinese website!