Search:

Search all manuals
Search this manual
Manual
Membase Manual 1.7
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
4.2 Membase Command-line Interface
Chapter Sections
Chapters

4.2.2. mbstats Tool

Linux/opt/membase/bin/mbstats
WindowsC:\Program Files\Membase\Server\bin\mbstats.exe

A tool for obtaining the membase node statistics. The general format for usage is:

mbstats HOST COMMAND [options] [username password]

Where HOST is the hostname and port (HOSTNAME[:PORT]) combination for a Membase bucket, and username and password are the authentication details. COMMAND (and [options]) are one of:

all
dispatcher
hash
reset
tap
timings
vkey keyname vbid

Example: The stats output can be used with other command-line tools to sort and filter the data.

watch --diff "mbstats \
    ip-10-12-19-81:11210 all | egrep 'item|mem|flusher|ep_queue|bg|eje|resi|warm'"