mongocli cm performanceadvisor namespace ls

Retrieve up to 20 namespaces for collections experiencing slow queries for a specified host

Options

NameDescription
--duration <duration>Length of time from the since parameter, in milliseconds, for which you want to receive results
--hostId <hostId>Unique identifier for the host of a MongoDB process
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--processName <processName>Unique identifier for the host of a MongoDB process in the following format: {hostname}:{port}
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--since <since>Point in time, specified as milliseconds since the Unix Epoch, from which you want to receive results