0
On our Windows 7 x64 machine, we've got mongod up and running:
mongod
But when we try to use mongostat, it says it's not defined. Why is it so?
mongostat
Btw, rest all the other queries are working fine.
Are there any specific configurations which needs to be done?
xameeramir
Posted 2016-09-05T13:22:26.700
Reputation: 151
2
This is happening because mongostat is not a command you run from the mongo shell, rather it is a separate executable mongostat.exe.
mongo
mongostat.exe
Hence you need to run it from it's own command line as you did mongod.exe and mongo.exe.
mongod.exe
mongo.exe
Adam C
Reputation: 2 475
Asked: 2016-09-05T13:22:26.700
Viewed: 379 times
Active: 2016-09-12T23:25:06.910