Linux Server Load balancer TOP Command-display kernel chip Cache Information

Source: Internet
Author: User

Linux Server Load balancer TOP Command-display kernel chip Cache Information

The Linux kernel needs to allocate memory for temporary objects such as tasks, device structures, and nodes. The cache distributor manages the cache of these types of objects. The cache distributor is deployed in the modern Linux kernel to hold the cache, which is called a piece. Different types of slice cache are maintained by the slice distributor. This article focuses on the slabtop command, which displays the real-time kernel chip cache information.

1. command usage:

This command is easy to use. By default, no parameters are required during execution. However, it requires the root privilege to read kernel chip information. If you run this command as a common user, the following error occurs:

You can set "sudo" to run this command. The default output is as follows:

To exit slabtop, just press 'Q', as in the top command.

2. Slabtop options: 2.1 display interval:

By default, slabtop is refreshed every 3 seconds. However, if you want to adjust the interval, you can use the-d or -- delay = N option to adjust the refresh interval, in seconds:

2.2 sorting criteria:

There are many fields in the slabtop output. The-s or -- sort = S option can sort these fields according to the specified sorting standard. This option will be detailed in the next section.

2.3 output once:

The-o or -- once option does not refresh the output. It only throws the output result to STDOUT once and then exits.

Version 2.4:

The-V or -- version option displays the command version and exits.

2.5 help:

Common options:-h or -- help.

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

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.