Usage: pt-mongodb-index-check --mongodb.uri=mongodb://host:port/admindb?options [flags] Flags: -h, --help Show context-sensitive help. --version --all-databases Check in all databases excluding system dbs --databases=DATABASES,... Comma separated list of databases to check --all-collections Check in all collections in the selected databases. --collections=COLLECTIONS,... Comma separated list of collections to check --mongodb.uri=mongodb://host:port/admindb?options Connection URI --json Show output as JSON Commands: check-unused --mongodb.uri=mongodb://host:port/admindb?options [flags] Check for unused indexes. check-duplicates --mongodb.uri=mongodb://host:port/admindb?options [flags] Check for duplicated indexes. check-all --mongodb.uri=mongodb://host:port/admindb?options [flags] Check for unused and duplicated indexes. show-help --mongodb.uri=mongodb://host:port/admindb?options [flags] Run "pt-mongodb-index-check --help" for more information on a command.