What is the Linux memory viewing command?

Release: 2020-03-03 11:11:38
Original
5898 people have browsed it

What is the Linux memory viewing command?

Under Linux, we often use the top command to view system processes. Top can also display system memory. The special tool we commonly use to view content under Linux is the free command.

Recommendation: Linux self-study video

Detailed explanation of the memory viewing command free under Linux:

We generally use the free command to view memory under Linux:

$ free
             total       used       free     shared    buffers     cached
Mem:       3266180    3250004      16176          0     110652    2668236
-/+ buffers/cache:     471116    2795064
Swap:      2048276      80160    1968116
Copy after login

The following is an explanation of the output of the memory view free command:

total: the total size of physical memory.

used: How big has been used.

free: How many are available.

Shared: The total amount of memory shared by multiple processes.

Buffers/cached: The size of the disk cache.

The third line (-/ buffers/cached):

used: How big has been used.

free: How many are available.

PHP Chinese website, a large number of Introduction to Programming tutorials, welcome to learn!

The above is the detailed content of What is the Linux memory viewing command?. 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