How to Use Exmap to view memory usage of processes

Source: Internet
Author: User
Article Title: How to Use Exmap to view memory usage of a process. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories. In Linux, you can use ps or top to view the memory usage of each process.

However, when they are displayed, they all contain the memory occupied by the shared library. For example, process 1 and process 2 both use a shared library, and process 3 occupies 1 m of memory. In ps, the memory occupied by process 1 completely includes this 1 m, and process 2 is the same. In the exmap tool, it can identify the number of processes using a shared library, so the occupied memory is evenly distributed among the memory usage of each process. In the preceding example, 500 k is used for each of 1 and 2.

In addition to the shared library, it can also identify the number of processes that open a file and the memory usage of each process.

This program depends on the exmap. ko module and can be loaded with insmod during use.

Official station: http://www.berthels.co.uk/exmap

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.