From 06c39979f07287496c31a083a911c868f9d4ac5c Mon Sep 17 00:00:00 2001 From: Vincent Yang Date: Fri, 6 Oct 2017 14:58:04 -0700 Subject: [PATCH 1/3] Added mongod --- pages/common/mongod.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/mongod.md diff --git a/pages/common/mongod.md b/pages/common/mongod.md new file mode 100644 index 000000000..94e68f16c --- /dev/null +++ b/pages/common/mongod.md @@ -0,0 +1,15 @@ +# mongod + +> The daemon process for MongoDB. + +- Specify runtime configurations: + +`mongod --config ` + +- Specify port for MongoDB to listen to client connections: + +`mongod --port ` + +- Change database profiling level. 0 is off, 1 is only slow operations, 2 is all: + +`mongod --profile ` From 5f49a298f16be1e4a5ca9381b8f9ed372f92c10a Mon Sep 17 00:00:00 2001 From: Vincent Yang Date: Sat, 7 Oct 2017 00:34:24 -0700 Subject: [PATCH 2/3] Updated description changes --- pages/common/mongod.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/common/mongod.md b/pages/common/mongod.md index 94e68f16c..a6e46a61a 100644 --- a/pages/common/mongod.md +++ b/pages/common/mongod.md @@ -1,15 +1,15 @@ # mongod -> The daemon process for MongoDB. +> The MongoDB database server -- Specify runtime configurations: +- Specify a config file: -`mongod --config ` +`mongod --config {{filename}}` -- Specify port for MongoDB to listen to client connections: +- Specify the port to listen on: -`mongod --port ` +`mongod --port {{port}}` -- Change database profiling level. 0 is off, 1 is only slow operations, 2 is all: +- Specify database profiling level. 0 is off, 1 is only slow operations, 2 is all: -`mongod --profile ` +`mongod --profile {{0|1|2}}` From 0e2d131c08973ee97bf313907c5827d7e68d3a1a Mon Sep 17 00:00:00 2001 From: Vincent Yang Date: Sat, 7 Oct 2017 00:35:45 -0700 Subject: [PATCH 3/3] Added period --- pages/common/mongod.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/mongod.md b/pages/common/mongod.md index a6e46a61a..709faa072 100644 --- a/pages/common/mongod.md +++ b/pages/common/mongod.md @@ -1,6 +1,6 @@ # mongod -> The MongoDB database server +> The MongoDB database server. - Specify a config file: