tldr/pages/common/mongod.md

16 lines
305 B
Markdown
Raw Normal View History

2017-10-06 22:58:04 +01:00
# 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>`