Discuss Deployment in MongoDB?

The mongostat utility provides a quick overview of the status of the current running mongod or mongos instances. Mongostat is functionally similar to the UNIX OR LINUX file system utility vmstat, but provides data regarding mongod or mongos instances.

**mongostat<option><connection-string>**

Ex:mongostat –host localhost

Mongotop provies a method to track the amount of time a mongodb instance mongod spends reading and writing data. Mongotop provides statistics on the per-collection level. By default, mongotop return values every second.

**mongotop<option><connection-string>**

Ex:mongotop –host localhost