Vincent Yang 7 vuotta sitten
vanhempi
commit
06c39979f0
1 muutettua tiedostoa jossa 15 lisäystä ja 0 poistoa
  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>`