@@ -15,14 +15,12 @@ mongocli ops-manager process list
15
15
.. include:: /includes/styles/corrections.rst
16
16
17
17
The ``process list`` command retrieves information about all running
18
- :manual:`mongod </reference/program/mongod/#bin.mongod>` and
19
- :manual:`mongos </reference/program/mongos/#bin.mongos>` processes for a
20
- given |mms| project.
18
+ |mongod| and |mongos| processes for a given |mms| project.
21
19
22
- Syntax
20
+ Syntax
23
21
------
24
22
25
- .. code-block:: text
23
+ .. code-block:: shell
26
24
27
25
mongocli ops-manager|om process list|ls
28
26
[ --output|-o <output-format> ]
@@ -31,41 +29,44 @@ Syntax
31
29
32
30
.. include:: /includes/fact-command-line-help.rst
33
31
34
- Options
32
+ Options
35
33
-------
36
34
37
35
.. list-table::
38
36
:header-rows: 1
39
37
:widths: 20 10 60 10
40
38
41
- * - Option
42
- - Type
43
- - Description
44
- - Required?
39
+ * - Option
40
+ - Type
41
+ - Description
42
+ - Required?
45
43
46
44
* - ``--output``, ``-o``
47
- - string
45
+ - string
48
46
- .. include:: /includes/extracts/fact-basic-options-output.rst
49
47
- no
50
48
51
49
* - ``--profile``, ``-P``
52
50
- string
53
- - Name of the profile where the project ID and the |svc-api-key|\s
54
- for the project are saved. If omitted, uses the {+default-profile+}.
55
- To learn more about creating a profile, see :ref:`mcli-configure`.
51
+ - Name of the profile where the project ID and the |svc-api-key|\s
52
+ for the project are saved. If omitted, uses the
53
+ {+default-profile+}.
54
+
55
+ To learn more about creating a profile, see
56
+ :ref:`mcli-configure`.
56
57
- no
57
58
58
59
* - ``--projectId``
59
60
- string
60
- - Unique identifier of the project that contains the cluster.
61
- If omitted, uses the project ID in the profile or :ref:`environment
62
- variable <mcli-env-var>`.
61
+ - Unique identifier of the project that contains the cluster. If
62
+ omitted, uses the project ID in the profile or
63
+ :ref:`environment variable <mcli-env-var>`.
63
64
- no
64
65
65
66
.. _mcli-om-process-list-output:
66
67
67
- Output
68
- ------
68
+ Output
69
+ ------
69
70
70
71
.. include:: /includes/command-output-intro.rst
71
72
@@ -77,10 +78,10 @@ MongoDB process within your |mms| project.
77
78
Example
78
79
-------
79
80
80
- The following example uses the ``mongocli ops-manager process list`` command
81
- to retrieve information about MongoDB processes running on the project.
82
- The command uses the {+default-profile+} where the project ID and the
83
- |svc-api-key|\s are stored.
81
+ The following example uses the ``mongocli ops-manager process list``
82
+ command to retrieve information about MongoDB processes running on the
83
+ project. The command uses the {+default-profile+} where the project ID
84
+ and the |svc-api-key|\s are stored.
84
85
85
86
.. code-block:: json
86
87
0 commit comments