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

王林
Release: 2020-02-05 10:58:04
Original
16040 people have browsed it

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
Copy after login

or

free -g(Gb查看)
Copy after login

or (recommended learning: linux video tutorial)

cat /proc/meminfo
Copy after login

2. To check the hard disk size, the command is as follows:

df -hl
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!