Ver código fonte

Added mongod

Vincent Yang 7 anos atrás
pai
commit
06c39979f0
1 arquivos alterados com 15 adições e 0 exclusões
  1. 15 0
      pages/common/mongod.md

+ 15 - 0
pages/common/mongod.md

@@ -0,0 +1,15 @@
+# mongod
+
+> The daemon process for MongoDB.
+
+- Specify runtime configurations:
+
+`mongod --config <filename>`
+
+- Specify port for MongoDB to listen to client connections:
+
+`mongod --port <port>`
+
+- Change database profiling level. 0 is off, 1 is only slow operations, 2 is all:
+
+`mongod --profile <level>`