mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-25 02:39:25 +03:00
17 lines
353 B
Markdown
17 lines
353 B
Markdown
# mongod
|
|
|
|
> The MongoDB database server.
|
|
> More information: <https://docs.mongodb.com/manual/reference/program/mongod>.
|
|
|
|
- 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}}`
|