Skip to content

MongoDB tool to list collections with dirtiest WiredTiger cache.

License

Notifications You must be signed in to change notification settings

francescorivola/mongodb-dirtycache-top

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongodb-dirtycache-top

Npm Version Actions Status CodeFactor Dependabot

MongoDB tool to list collections with dirtiest WiredTiger cache.

Similar to mongotop, this tool shows which database collections have the highest value in bytes of the WiredTiger dirty cache.

Installation

Install NodeJs than install it using npm:

$ npm install mongodb-dirtycache-top -g

Usage

The usage documentation can be found running the tool with the help flag:

$ mongodb-dirtycache-top --help

Output:

Usage: mongodb-dirtycache-top [options]

MongoDB tool to list collections with dirtiest WiredTiger cache.

Options:
  -V, --version              output the version number
  -h, --host [value]         Set host (required)
  -p, --port [value]         Set port (default: 27017)
  -u, --username [value]     Set username (required)
  -p, --password [value]     Set password (required)
  -d, --database [value]     Set database (required)
  -c, --collections [value]  Set collections name separated by comma. If not specified will inspect all database collections
  -i, --interval <n>         Set refresh interval in milliseconds (default: 1000)
  --help                     display help for command

License

MIT