MongoDB monitoring tool Ranking Top

Source: Internet
Author: User
Tags mongodb monitoring
Sort top is also a built-in tool under mongodb-win32-x86_64-2.2.1 \ bin, which provides a way to track an MongoDB instance and view which amount of time is spent reading and writing data. Mongotop provides horizontal statistics for each set. By default, every second of the return value of top is returned.

Usage:

1, E: \ mongodb-win32-x86_64-2.2.1 \ bin> Top 10

The next 10 is the <sleeptime> parameter, which can be left blank. The length of the waiting time, in seconds, is between waiting for the top 10 calls. By default, each second of data is returned through the top vertex.

 

2, E: \ mongodb-win32-x86_64-2.2.1 \ bin> unlock top -- locks

Report the use of locks for each database and use the top lock, which generates the following output:

 

 

Result fields:

Ns: contains the database namespace, which combines the Database Name and set.
Db: contains the database name. Name.The database is globally locked, not specific to the database.
Total: the total amount of time spent by mongod to work in this namespace.

Read: a large amount of time is provided. This namespace is used for executing read operations.

Write: Provides the namespace for write operations, which takes a lot of time.

Related Article

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.