27 lines
541 B
Markdown
27 lines
541 B
Markdown
mongoprof
|
|
=========
|
|
|
|
Log watcher for [MongoDB](http://mongodb.org)
|
|
|
|
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
|