On this page本页内容
db.printShardingStatus()¶Prints a formatted report of the sharding configuration and the information regarding existing chunks in a sharded cluster.
Only use db.printShardingStatus() when connected to a mongos instance.
The db.printShardingStatus() method has the following parameter:
verbose | 
boolean | 
 If  
 If  
 The default verbose value is   | 
See sh.status() for details of the output.
Note
The db.printShardingStatus() in the mongo shell does not return JSON. Use db.printShardingStatus() for manual inspection, and Config Database in scripts.
See also参阅