-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtop.txt
107 lines (76 loc) · 2.72 KB
/
top.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Usage:
mongotopx <options> <polling interval in seconds>
mongotopx is a wrapper for mongotop for better collection filtering and
output.
mongotopx provides a method to track the amount of time a MongoDB
instance mongod spends reading and writing data. mongotopx provides
statistics on a per-collection level. By default, mongotopx returns
values every second.
filtering options:
--collection=<regex>
regular expression to filter collections
general options:
--help
print usage
--version
print the tool version and exit
output options:
--csv
format output as CSV
--json
format output as JSON
--text
format output as text
--xml
format output as XML
--delimiter=<string>
delimeter for CSV format
--spacer=<number>
the number of space characters to use to indent JSON and XML
--locks
report on use of per-database locks
-n, --rowcount=<count>
number of stats lines toprint (0 for indefinite)
connection options:
-h, --host=<hostname>
mongodb host(s) to connect to (use commas to delimit hosts)
--port=<port>
server port (can also use --host hostname:port)
ssl options:
--ssl
connect to a mongod or mongosthat has ssl enabled
--sslCAFile=<filename>
the .pem file containing the root certificate chain from
the certificate authority
--sslPEMKeyFile=<filename>
the .pem file containing the certificate and key
--sslPEMKeyPassword=<password>
the password to decrypt the sslPEMKeyFile, if necessary
--sslCRLFile=<filename>
the .pem file containing the certificate revocation list
--sslAllowInvalidCertificates
bypass the validation for server certificates
--sslAllowInvalidHostnames
bypass the validation for server name
--sslFIPSMode
use FIPS mode of the installed openssl library
authentication options:
-u, --username=<username>
username for authentication
-p, --password=<password>
password for authentication
--authenticationDatabase=<database-name>
database that holds the user's credentials
--authenticationMechanism=<mechanism>
authentication mechanism to use
kerberos options:
--gssapiServiceName=<service-name>
service name to use when authenticating using GSSAPI/Kerberos
(default: mongodb)
--gssapiHostName=<host-name>
hostname to use when authenticating using GSSAPI/Kerberos
(default: <remote server's address>)
uri options:
--uri=mongodb-uri
mongodb uri connection string
See https://github.com/anars/mongodb-dba-tools/ for more information.