1024programmer Linux What is the Linux memory viewing command? -Linux operation and maintenance

What is the Linux memory viewing command? -Linux operation and maintenance

Under Linux, we often use the top command to view the system process, and top can also display the system memory. Our commonly used special tool for viewing content under Linux is the free command.

Recommendation: Linux self-study video

Detailed explanation of memory viewing command free under Linux:

To view memory under Linux, we generally use the free command:

pre class=”brush:php;toolbar:false”>$ free
total used free shared buffers cached
Mem: 3266180 3250004 16176 0 110652 2668236
-/+ buffers/cache: 471116 2795064
Swap: 2048276 80160 1968116

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

total: the total size of physical memory.

used: How much 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 much has been used.

free: How many are available.

PHP Chinese website, a large number of programming introductory tutorials, welcome to learn!

The above is what is the Linux memory viewing command? For more details, please pay attention to other related articles on 1024programmer.com!

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/what-is-the-linux-memory-viewing-command-linux-operation-and-maintenance/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索