How to check memory in centos

Release: 2020-03-18 16:31:03
Original
12626 people have browsed it

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 <间隔秒数>]
Copy after login

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!

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!