Table of Contents
Couchbase Server includes a number of command-line tools that can be used to manage and monitor a Couchbase Server cluster or server. Most operations correspond to Couchbase REST API requests, and were applicable we cross-reference these REST reqeusts: Chapter 8, REST API for Administration.
Couchbase command-line tools are described individually within the following sections:
Table 7.1. Couchbase Server Command-line Tools
| Tool | Description |
|---|---|
| couchbase-cli | Main tool for communicating and managing your Couchbase Server. |
| cbstats | To view stats from a Couchbase Server node |
| cbflushctl | For managing the configuration, memory and disk persistence behavior. |
| tap.py | To access the TAP interface of a Couchbase Server node. |
| cbvbucketctl | To manage vBucket states on a Couchbase Server node. |
| cbdbmaint | To manage the SQLite database on a Couchbase Server node. |
| cbcollect_info | For gathering a several of statistics from a Couchbase Server node. |
Couchbase Server installer places tools in a number of directories, dependent on the tool and platform. You can either go to that directory and use the command line tool, or create a symbolic link to the directory: