mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
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>`
|