Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (39 sloc) 0.919 kb
.\" Documentation for the MongoDB shell
.TH MONGOSTAT "1" "March 2010" "10gen" "Mongo Database"
.SH "NAME"
mongostat \- view statistics on a running mongod instance
.SH "SYNOPSIS"
\fBmongostat [\fIOPTIONS\fR]
.SH "DESCRIPTION"
.PP
\fBmongostat\fR
prints statistics on a running mongod instance.
.SH "OPTIONS"
.TP
.B \-\-help
show usage information
.TP
.B \-h, \-\-host HOST
mongo host to connect to (use "left,right" for pairs)
\" .TP
\" .B \-\-port PORT
\" port to connect to (default PORT=27017)
.TP
.B \-d, \-\-db ARG
db to use
.TP
.B \-c, \-\-collection ARG
collection to use (some commands)
.TP
.B \-u, \-\-username USERNAME
specify user to log in as
.TP
.B \-p, \-\-password PASSWORD
specify password of user (notice there is no space)
.SH "COPYRIGHT"
.PP
Copyright 2010 10gen
.SH "SEE ALSO"
For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.
.SH "AUTHOR"
Eliot Horowitz
Jump to Line
Something went wrong with that request. Please try again.