title: Reference for MongoDB runCommand with optional parameters
body: <p>I need to know where I can find the reference resource for MongoDB runCommand.</p>
  
  <p>i.e. what kind of commands are available and what kind of optional parameters each command can use.</p>
  
  <p>For example,</p>
  
  <pre><code>db.runCommand({addshard: "10.0.4.85:27020", allowLocal : 1, maxSize:2, minKey: 1, maxKey:10});
  </code></pre>
  
  <p>Thank you</p>
  
  <p>// Update //</p>
  
  <p>maxSize is documented here <a href="http://www.mongodb.org/display/DOCS/Configuring+Sharding" rel="nofollow">maxSize</a></p>