mongoprof/README.md
2014-02-14 10:27:11 -05:00

34 lines
604 B
Markdown

mongoprof
=========
Log watcher for [MongoDB](http://mongodb.org)
Installation
------------
Just ``python setup.py install``
Usage
-----
``./mongoprof [--host hostname] [--slowms ms] dbname``
Monitors connections to DB ``dbname`` at ``hostname``.
--host is an optional parameter, defaults to localhost (recommended)
If slowms is included the log level will be set to only log queries slower than ``ms`` milliseconds.
Example Output:
![](https://raw2.github.com/sunlightlabs/mongoprof/master/example.png)
BSD-licensed. (see LICENSE)
Copyright 2012 Sunlight Foundation, James Turk