mirror of https://github.com/CrimsonTome/tldr.git
16 lines
305 B
Markdown
16 lines
305 B
Markdown
|
# 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>`
|