summaryrefslogtreecommitdiff
path: root/debian/mongostat.1
blob: 06e43338a6c2954b9bcc8b13fffc2413965cf56a (plain)
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
108
109
110
111
112
113
.TH MONGOSTAT "1" "March 2010" "10gen" "Mongo Database"
.SH "NAME"
mongostat \- view statistics on a running mongod instance
.SH "SYNOPSIS"
\fBmongostat [\fIOPTIONS\fR] [\fISLEEP TIME\fR]
.SH "DESCRIPTION"
.PP
\fBmongostat\fR
prints statistics on a running mongod instance.  [\fISLEEP TIME\fR] is
time to wait (in seconds) between calls to servers
.SH "OPTIONS"
.TP
.B \-\-help                     
produce help message
.TP
.B \-\-version
show version information
.TP
.B \-v, \-\-verbose           
be more verbose (include multiple times for more verbosity
e.g. \-vvvvv)
.TP
.B \-h, \-\-host arg          
mongo host to connect to ( <set name>/s1,s2 for sets)
.TP
.B \-\-port arg                 
server port. Can also use \-\-host hostname:port
.TP
.B \-\-ipv6                     
enable IPv6 support (disabled by default)
.TP
.B \-u, \-\-username arg      
username
.TP
.B \-p, \-\-password arg      
password
.TP
.B \-\-noheaders                
don't output column names
.TP
.B \-n, \-\-rowcount arg
number of stats lines to print (0 for indefinite)
.TP
.B \-\-http                     
use http instead of raw db connection
.TP
.B \-\-discover                 
discover nodes and display stats for all
.TP
.B \-\-all                      
all optional fields
.SH "FIELDS"
.TP
.B inserts
# of inserts per second
.TP
.B query
# of queries per second
.TP
.B update
# of updates per second
.TP
.B delete
# of deletes per second
.TP
.B getmore
# of get mores (cursor batch) per second
.TP
.B command
# of commands per second
.TP
.B flushes
# of fsync flushes per second
.TP
.B mapped
amount of data mmaped (total data size) megabytes
.TP
.B visze
virtual size of process in megabytes
.TP
.B res
resident size of process in megabytes
.TP
.B faults
# of pages faults per sec (linux only)
.TP
.B locked
percent of time in global write lock
.TP
.B idx
percent of btree page misses (sampled)
.TP
.B qr
queue lengths for clients waiting (read|write)
.TP
.B ar
active clients (read|write)
.TP
.B netIn
network traffic in - bits
.TP
.B netOut
network traffic out - bits
.TP
.B conn
number of open connections
.SH "COPYRIGHT"
.PP
Copyright 2011 10gen
.SH "SEE ALSO"
For more information, please refer to the mongostat page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongostatmanpage
.SH "AUTHOR"
Eliot Horowitz