The free
command displays the physically free and used memory in the system, including swap memory. This information is obtained by parsing the file /proc/meminfo
.
Syntax format: free [parameter]
Common parameters:
Example
free
# 以MB显示内存使用情况free -m
This article is reprinted from https://xugaoxiang.com/2022/06/16/linux-cmds-59-free/
This site is for inclusion only, and the copyright belongs to the original author.