2014-02-14 15:23:46 +00:00
|
|
|
mongoprof
|
|
|
|
=========
|
2012-06-25 19:34:19 +00:00
|
|
|
|
|
|
|
Log watcher for `MongoDB <http://mongodb.org>`_.
|
|
|
|
|
2014-02-14 15:21:27 +00:00
|
|
|
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.
|
2014-02-14 15:23:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
Example Output:
|
2014-02-14 15:21:27 +00:00
|
|
|
|
2014-02-14 15:23:11 +00:00
|
|
|
![](https://raw2.github.com/sunlightlabs/mongoprof/master/example.png)
|
2014-02-14 15:21:27 +00:00
|
|
|
|
|
|
|
|
2012-06-25 19:34:19 +00:00
|
|
|
BSD-licensed. (see LICENSE)
|
|
|
|
|
|
|
|
Copyright 2012 Sunlight Foundation, James Turk
|