Home  >  Article  >  Operation and Maintenance  >  How to check memory in centos

How to check memory in centos

尚
Original
2020-03-18 16:31:0312619browse

How to check memory in centos

#You can use the free command to check the memory status in centos.

Recommended: "centos usage tutorial"

The free command will display the memory usage, including physical memory, virtual swap file memory, and shared memory area segments, as well as buffers used by the system core, etc.

Syntax

free [-bkmotV][-s <间隔秒数>]

Parameter description:

-b Displays the memory usage in Byte.

-k Displays memory usage in KB.

-m Display memory usage in MB.

-h Display memory usage in appropriate units, up to three digits, and automatically calculate the corresponding unit value.

Example:

free -m: Look at memory usage

How to check memory in centos

##Recommended learning:

Linux video tutorial

The above is the detailed content of How to check memory in centos. 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