summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-03-15 10:02:07 -0400
committerRichard Kreuter <richard@10gen.com>2010-03-15 10:02:07 -0400
commitf39aec7867221c1d6b7e8ce481ddc93a78984604 (patch)
tree4c4ea5a2e492018ebe58ee23b1a1a9451dbfbdde /debian
parent6c250b7c23fecb48c7269248905c23efd6a14054 (diff)
downloadmongo-f39aec7867221c1d6b7e8ce481ddc93a78984604.tar.gz
Add mongostat manpage; include mongostat in RPM.
Diffstat (limited to 'debian')
-rw-r--r--debian/mongostat.139
1 files changed, 39 insertions, 0 deletions
diff --git a/debian/mongostat.1 b/debian/mongostat.1
new file mode 100644
index 00000000000..5828104fc90
--- /dev/null
+++ b/debian/mongostat.1
@@ -0,0 +1,39 @@
+.\" Documentation for the MongoDB shell
+.TH MONGOSTAT "15" "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