"Turn" MongoDB monitoring tool Mongotop

Source: Internet
Author: User
Tags mongodb monitoring

(Transferred from: http://www.cnblogs.com/zhuque/archive/2013/03/29/2988639.html)

Mongotop, too.a built-in tool under the Mongodb-win32-x86_64-2.2.1\bin, Mongotopprovides a way to track an instance of MongoDB to see which amount of time is spent reading and writing data. Mongotop offersThe level of each collectionof statistical data. By default, Mongotop returns every second of a value.

Usage:

1, e:\mongodb-win32-x86_64-2.2.1\bin>mongotop

The following 10 is the <sleeptime> parameter, which can be used without, waiting for the length of time, in seconds, between Mongotop waits to be called. The default mongotop passed returns the data every second.

2, e:\mongodb-win32-x86_64-2.2.1\bin>mongotop--locks

To report the use of locks per database, use Mongotop-lock, which produces the following output:

The result field describes:

NS: contains the database namespace, which combines the database name and collection.
DB: contains the name of the database. Name is . database against a global lock, not a specific database.
Total:Mongod spends the time working in this namespace to provide the totals.  

READ: provides a lot of time for this mongod to be spent in performing read operations in this namespace.  

Write: provides this namespace for writing, which Mongod spend 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.