1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 16:22:08 +02:00
tldr/pages/common/mongod.md
2017-10-07 00:35:45 -07:00

15 lines
273 B
Markdown

# mongod
> The MongoDB database server.
- Specify a config file:
`mongod --config {{filename}}`
- Specify the port to listen on:
`mongod --port {{port}}`
- Specify database profiling level. 0 is off, 1 is only slow operations, 2 is all:
`mongod --profile {{0|1|2}}`