Skip to main content

"Top" clone for MongoDB.

Project description


Realtime monitoring tool for several MongoDB servers. Shows current
operations ordered by durations every second.


Install with easy_install::

easy_install motop

Install with pip::

pip install git+

Download and install::

./ install


motop -h

Monitor several servers::



q Quit

p Pause

e Explain the query

k Kill operation using "mongo" executable

K Kill operations older than given seconds using "mongo" executable

r Try to reconnect to disconnected servers

R Try to reconnect to all servers


* python 2.6 or greater
* pymongo 2.0 or greater [1]


Configuration (Optional)

Configuration file can be created to /etc/motop.conf.

There can be multiple sections on the configuration. Each section
can include these parameters::

Address of the server (required)

Username to authenticate to the server

Password to authenticate to the server

Show status (default: on)

Show replication status (default: on)

Show replica set status (default: on)

Show operations (default: on)

Show constantly appeared replication operations on the masters
and the slaves (default: on)

"DEFAULT" is the special section. Parameters can be set as default
in this section.

The names of the sections will be used as server names. These names
can alse be used on arguments of the executable.

Example configuration::






This tool is released under the ISC License, whose text is included to the
source files. The ISC License is registered with and approved by the
Open Source Initiative [1].



Motop 3.0

* Change coding style according to the PEP 8 for more contribution
* Improve human readable values
* Fix replica set monitoring (UdjinM6)

Motop 3.1

* Avoid crash for operations with missing fields
* Avoid crash for failed explain, kill actions
* Rename column State of the operation block
* Show locks with operations

Motop 4.0

* Avoid crash on missing data from server
* Aviod crash on connection failures
* Add reconnect buttons
* Try to reconnect to disconnected servers after every 20 refreshes
* Use username, password from the configuration instead of from the arguments

Motop 4.1

* Avoid crash on replica set view

Motop 4.2

* Support installation with `pip`

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
motop-4.2-py2.6.egg (30.0 kB) Copy SHA256 hash SHA256 Egg 2.6
motop-4.2-py2.7.egg (29.8 kB) Copy SHA256 hash SHA256 Egg 2.7
motop-4.2-py3.1.egg (30.2 kB) Copy SHA256 hash SHA256 Egg 3.1
motop-4.2-py3.2.egg (30.4 kB) Copy SHA256 hash SHA256 Egg 3.2
motop-4.2-py3.3.egg (31.1 kB) Copy SHA256 hash SHA256 Egg 3.3
motop-4.2-py3.4.egg (30.7 kB) Copy SHA256 hash SHA256 Egg 3.4
motop-4.2.tar.gz (10.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page