Run a command in Ubuntu to view the memory usage of the server.

Source: Internet
Author: User

Run a command in Ubuntu to view the memory usage of the server.

Today, I received a request from PM saying that I want to check the memory on the server. There are still a few slots left empty. Baidu hasn't found them for a long time, the final result is done on the google and man manual pages.

In fact, it's just a command: dmidecode.

The most common option is to use-t or -- type to limit the Keyword:

Bios, system, baseboard, chassis, processor, memory, cache, connector, slot

For more information about these keywords, see Baidu or go to the man manual page. Here we will only introduce memory detection.

Go directly to my own Ubuntu test results:

 

The first part of the output is the summary information, mainly that the maximum memory supported by the Board is 16 GB, there are two memory slots.

The next step is the information of the two slots. Because I only inserted one 8 GB, the second information is empty.

Compare the running result of the previous Server:

This server supports a maximum of 8x16 = GB of memory, but is inserted with 8 4 GB memory (the last 7 messages are similar, no). Now I want to extend the memory, at that time, my mood collapsed.

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.