Home >Operation and Maintenance >Linux Operation and Maintenance >How to check system memory and hard disk size in Linux system

How to check system memory and hard disk size in Linux system

王林
王林Original
2020-02-05 10:58:0416155browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn