A newer version of this documentation is available.

View Latest

all

Lists the information used for statistics.

Syntax

Request syntax:

cbstats [host]:11210 all

Description

This command lists the information used for statistics.

Options

None

Examples

Example request:

cbstats 10.5.2.54:11210 -b travel-sample -u Administrator -p password all

Response:

accepting_conns:                                       1
auth_cmds:                                             8
auth_errors:                                           0
bytes:                                                 24322824
bytes_read:                                            1432098
bytes_subdoc_lookup_extracted:                         0
bytes_subdoc_lookup_total:                             0
bytes_subdoc_mutation_inserted:                        0
bytes_subdoc_mutation_total:                           0
bytes_written:                                         61420964
cas_badval:                                            0
cas_hits:                                              0
cas_misses:                                            0
cmd_flush:                                             0
cmd_get:                                               0
cmd_lock:                                              0
cmd_lookup_10s_count:                                  0
cmd_lookup_10s_duration_us:                            0
cmd_mutation_10s_count:                                0
cmd_mutation_10s_duration_us:                          0
cmd_set:                                               2190
cmd_subdoc_lookup:                                     0
cmd_subdoc_mutation:                                   0
cmd_total_gets:                                        5872
cmd_total_ops:                                         8062
cmd_total_sets:                                        2190
conn_yields:                                           23
connection_structures:                                 19
curr_connections:                                      25
curr_conns_on_port_11207:                              2
curr_conns_on_port_11209:                              9
curr_conns_on_port_11210:                              14
curr_items:                                            2190
curr_items_tot:                                        2190
curr_temp_items:                                       0
daemon_connections:                                    6
decr_hits:                                             0
decr_misses:                                           0
delete_hits:                                           0
delete_misses:                                         0
ep_access_scanner_enabled:                             true
ep_access_scanner_last_runtime:                        0
ep_access_scanner_num_items:                           0
ep_access_scanner_task_time:                           2018-09-20 02:00:01
ep_active_ahead_exceptions:                            0
ep_active_behind_exceptions:                           0
ep_active_datatype_json:                               2190
ep_active_datatype_json,xattr:                         0
ep_active_datatype_raw:                                0
ep_active_datatype_snappy:                             0
ep_active_datatype_snappy,json:                        0
ep_active_datatype_snappy,json,xattr:                  0
ep_active_datatype_snappy,xattr:                       0
ep_active_datatype_xattr:                              0
ep_active_hlc_drift:                                   0
ep_active_hlc_drift_count:                             0
ep_alog_block_size:                                    4096
ep_alog_max_stored_items:                              1024
ep_alog_path:                                          /opt/couchbase/var/lib/couchbase/data/travel-sample/access.log
ep_alog_resident_ratio_threshold:                      95
ep_alog_sleep_time:                                    1440
ep_alog_task_time:                                     2
ep_backend:                                            couchdb
ep_backfill_mem_threshold:                             96
ep_bfilter_enabled:                                    true
ep_bfilter_fp_prob:                                    0.01
ep_bfilter_key_count:                                  10000
ep_bfilter_residency_threshold:                        0.1
ep_bg_fetch_avg_read_amplification:                    0
ep_bg_fetch_delay:                                     0
ep_bg_fetched:                                         0
ep_bg_meta_fetched:                                    0
ep_bg_remaining_items:                                 0
ep_bg_remaining_jobs:                                  0
ep_blob_num:                                           2190
ep_blob_overhead:                                      50319
ep_bucket_priority:                                    LOW
ep_bucket_type:                                        persistent
ep_cache_size:                                         104857600
ep_checkpoint_memory:                                  263397
ep_checkpoint_memory_overhead:                         83157
ep_checkpoint_memory_unreferenced:                     0
ep_chk_max_items:                                      10000
ep_chk_period:                                         5
ep_chk_persistence_remains:                            0
ep_chk_persistence_timeout:                            10
ep_chk_remover_stime:                                  5
ep_clock_cas_drift_threshold_exceeded:                 0
ep_collections_max_size:                               1000
ep_collections_prototype_enabled:                      false
ep_commit_num:                                         1638
ep_commit_time:                                        6
ep_commit_time_total:                                  57941
ep_compaction_exp_mem_threshold:                       85
ep_compaction_write_queue_cap:                         10000
ep_compression_mode:                                   passive
ep_config_file:
ep_conflict_resolution_type:                           seqno
ep_connection_manager_interval:                        1
ep_couch_bucket:                                       travel-sample
ep_cursor_dropping_checkpoint_mem_lower_mark:          30
ep_cursor_dropping_checkpoint_mem_upper_mark:          50
ep_cursor_dropping_lower_mark:                         80
ep_cursor_dropping_lower_threshold:                    83886080
ep_cursor_dropping_upper_mark:                         95
ep_cursor_dropping_upper_threshold:                    99614720
ep_cursor_memory_freed:                                0
ep_cursors_dropped:                                    0
ep_data_read_failed:                                   0
ep_data_traffic_enabled:                               false
ep_data_write_failed:                                  0
ep_db_data_size:                                       993177
ep_db_file_size:                                       11065335
ep_dbname:                                             /opt/couchbase/var/lib/couchbase/data/travel-sample
ep_dcp_backfill_byte_limit:                            20972856
ep_dcp_conn_buffer_size:                               10485760
ep_dcp_conn_buffer_size_aggr_mem_threshold:            10
ep_dcp_conn_buffer_size_aggressive_perc:               5
ep_dcp_conn_buffer_size_max:                           52428800
ep_dcp_conn_buffer_size_perc:                          1
ep_dcp_consumer_process_buffered_messages_batch_size:  10
ep_dcp_consumer_process_buffered_messages_yield_limit: 10
ep_dcp_enable_noop:                                    true
ep_dcp_ephemeral_backfill_type:                        buffered
ep_dcp_flow_control_policy:                            aggressive
ep_dcp_idle_timeout:                                   360
ep_dcp_max_unacked_bytes:                              524288
ep_dcp_min_compression_ratio:                          0.85
ep_dcp_noop_mandatory_for_v5_features:                 true
ep_dcp_noop_tx_interval:                               1
ep_dcp_producer_snapshot_marker_yield_limit:           10
ep_dcp_scan_byte_limit:                                4194304
ep_dcp_scan_item_limit:                                4096
ep_dcp_takeover_max_time:                              60
ep_defragmenter_age_threshold:                         10
ep_defragmenter_chunk_duration:                        20
ep_defragmenter_enabled:                               true
ep_defragmenter_interval:                              10
ep_defragmenter_num_moved:                             10950
ep_defragmenter_num_visited:                           141368
ep_degraded_mode:                                      false
ep_diskqueue_drain:                                    3214
ep_diskqueue_fill:                                     3214
ep_diskqueue_items:                                    0
ep_diskqueue_memory:                                   0
ep_diskqueue_pending:                                  0
ep_enable_chk_merge:                                   false
ep_exp_pager_enabled:                                  true
ep_exp_pager_initial_run_time:                         -1
ep_exp_pager_stime:                                    3600
ep_expired_access:                                     0
ep_expired_compactor:                                  0
ep_expired_pager:                                      0
ep_expiry_pager_task_time:                             2018-09-19 14:47:36
ep_failpartialwarmup:                                  false
ep_flush_all:                                          false
ep_flush_duration_total:                               65927
ep_flusher_batch_split_trigger:                        1000000
ep_flusher_state:                                      running
ep_flusher_todo:                                       0
ep_fsync_after_every_n_bytes_written:                  16777216
ep_getl_default_timeout:                               15
ep_getl_max_timeout:                                   30
ep_hlc_drift_ahead_threshold_us:                       5000000
ep_hlc_drift_behind_threshold_us:                      5000000
ep_ht_eviction_policy:                                 hifi_mfu
ep_ht_locks:                                           47
ep_ht_resize_interval:                                 1
ep_ht_size:                                            47
ep_initfile:
ep_io_bg_fetch_read_count:                             0
ep_io_compaction_read_bytes:                           0
ep_io_compaction_write_bytes:                          0
ep_io_total_read_bytes:                                9664424
ep_io_total_write_bytes:                               1785233
ep_item_begin_failed:                                  0
ep_item_commit_failed:                                 0
ep_item_compressor_chunk_duration:                     20
ep_item_compressor_interval:                           250
ep_item_compressor_num_compressed:                     0
ep_item_compressor_num_visited:                        0
ep_item_eviction_age_percentage:                       30
ep_item_eviction_freq_counter_age_threshold:           1
ep_item_eviction_policy:                               value_only
ep_item_flush_expired:                                 0
ep_item_flush_failed:                                  0
ep_item_freq_decayer_chunk_duration:                   20
ep_item_freq_decayer_percent:                          50
ep_item_num:                                           2253
ep_item_num_based_new_chk:                             true
ep_items_rm_from_checkpoints:                          2190
ep_keep_closed_chks:                                   false
ep_kv_size:                                            827245
ep_max_bg_remaining_jobs:                              0
ep_max_checkpoints:                                    2
ep_max_failover_entries:                               25
ep_max_item_privileged_bytes:                          1048576
ep_max_item_size:                                      20971520
ep_max_num_shards:                                     4
ep_max_num_workers:                                    3
ep_max_size:                                           104857600
ep_max_threads:                                        0
ep_max_ttl:                                            0
ep_max_vbuckets:                                       1024
ep_mem_high_wat:                                       89128960
ep_mem_high_wat_percent:                               0.85
ep_mem_low_wat:                                        78643200
ep_mem_low_wat_percent:                                0.75
ep_mem_tracker_enabled:                                true
ep_mem_used_merge_threshold_percent:                   0.5
ep_meta_data_disk:                                     96225
ep_meta_data_memory:                                   153165
ep_min_compression_ratio:                              1.2
ep_mutation_mem_threshold:                             93
ep_num_access_scanner_runs:                            0
ep_num_access_scanner_skips:                           0
ep_num_auxio_threads:                                  0
ep_num_eject_failures:                                 0
ep_num_expiry_pager_runs:                              0
ep_num_freq_decayer_runs:                              1
ep_num_non_resident:                                   0
ep_num_nonio_threads:                                  0
ep_num_not_my_vbuckets:                                0
ep_num_ops_del_meta:                                   0
ep_num_ops_del_meta_res_fail:                          0
ep_num_ops_del_ret_meta:                               0
ep_num_ops_get_meta:                                   0
ep_num_ops_get_meta_on_set_meta:                       0
ep_num_ops_set_meta:                                   0
ep_num_ops_set_meta_res_fail:                          0
ep_num_ops_set_ret_meta:                               0
ep_num_pager_runs:                                     0
ep_num_reader_threads:                                 0
ep_num_value_ejects:                                   0
ep_num_workers:                                        12
ep_num_writer_threads:                                 0
ep_oom_errors:                                         0
ep_overhead:                                           4869170
ep_pager_active_vb_pcnt:                               40
ep_pager_sleep_time_ms:                                5000
ep_pending_compactions:                                0
ep_pending_ops:                                        0
ep_pending_ops_max:                                    0
ep_pending_ops_max_duration:                           0
ep_pending_ops_total:                                  0
ep_persist_vbstate_total:                              3158
ep_postInitfile:
ep_queue_size:                                         0
ep_replica_ahead_exceptions:                           0
ep_replica_behind_exceptions:                          0
ep_replica_datatype_json:                              0
ep_replica_datatype_json,xattr:                        0
ep_replica_datatype_raw:                               0
ep_replica_datatype_snappy:                            0
ep_replica_datatype_snappy,json:                       0
ep_replica_datatype_snappy,json,xattr:                 0
ep_replica_datatype_snappy,xattr:                      0
ep_replica_datatype_xattr:                             0
ep_replica_hlc_drift:                                  0
ep_replica_hlc_drift_count:                            0
ep_replication_throttle_cap_pcnt:                      10
ep_replication_throttle_queue_cap:                     -1
ep_replication_throttle_threshold:                     99
ep_rocksdb_bbt_options:                                block_size=16384,cache_index_and_filter_blocks=true,pin_l0_filter_and_index_blocks_in_cache=true,cache_index_and_filter_blocks_with_high_priority=true,index_type=kTwoLevelIndexSearch,partition_filters=true
ep_rocksdb_block_cache_high_pri_pool_ratio:            0.9
ep_rocksdb_block_cache_ratio:                          0.1
ep_rocksdb_cf_options:
ep_rocksdb_default_cf_optimize_compaction:             none
ep_rocksdb_high_pri_background_threads:                0
ep_rocksdb_low_pri_background_threads:                 0
ep_rocksdb_memtables_ratio:                            0.1
ep_rocksdb_options:                                    bytes_per_sync=1048576,stats_dump_period_sec=600
ep_rocksdb_seqno_cf_optimize_compaction:               none
ep_rocksdb_stats_level:                                kExceptTimeForMutex
ep_rocksdb_uc_max_size_amplification_percent:          200
ep_rocksdb_write_rate_limit:                           0
ep_rollback_count:                                     0
ep_startup_time:                                       1537364855
ep_storage_age:                                        6
ep_storage_age_highwat:                                10
ep_storedval_num:                                      2190
ep_storedval_overhead:                                 50319
ep_storedval_size:                                     175200
ep_time_synchronization:                               disabled
ep_tmp_oom_errors:                                     0
ep_total_cache_size:                                   757216
ep_total_del_items:                                    0
ep_total_enqueued:                                     3214
ep_total_new_items:                                    2190
ep_total_persisted:                                    2190
ep_uncommitted_items:                                  0
ep_uuid:                                               8c71439cd33cb0f6b75b1def99320dd4
ep_value_size:                                         674080
ep_vb0:                                                false
ep_vb_backfill_queue_size:                             0
ep_vb_total:                                           1024
ep_vbucket_del:                                        0
ep_vbucket_del_fail:                                   0
ep_waitforwarmup:                                      false
ep_warmup:                                             true
ep_warmup_batch_size:                                  10000
ep_warmup_dups:                                        0
ep_warmup_min_items_threshold:                         100
ep_warmup_min_memory_threshold:                        100
ep_warmup_oom:                                         0
ep_warmup_thread:                                      complete
ep_warmup_time:                                        251
ep_workload_pattern:                                   write_heavy
ep_xattr_enabled:                                      true
get_hits:                                              0
get_misses:                                            0
incr_hits:                                             0
incr_misses:                                           0
iovused_high_watermark:                                3
libevent:                                              2.1.8-beta
listen_disabled_num:                                   0
lock_errors:                                           0
max_conns_on_port_11207:                               30000
max_conns_on_port_11209:                               5000
max_conns_on_port_11210:                               30000
mem_used:                                              24322824
mem_used_estimate:                                     24322824
memcached_version:                                     9d9127443f435e5a0527af55d0808a887fdfe685
msgused_high_watermark:                                1
pid:                                                   2804
pointer_size:                                          64
rbufs_allocated:                                       16
rbufs_existing:                                        10608
rbufs_loaned:                                          19128
rejected_conns:                                        0
rollback_item_count:                                   0
stat_reset:                                            Wed Sep 19 13:43:27 2018
threads:                                               4
time:                                                  1537365572
total_connections:                                     74
total_resp_errors:                                     0
uptime:                                                965
vb_active_backfill_queue_size:                         0
vb_active_checkpoint_memory:                           263397
vb_active_checkpoint_memory_overhead:                  83157
vb_active_checkpoint_memory_unreferenced:              0
vb_active_curr_items:                                  2190
vb_active_eject:                                       0
vb_active_expired:                                     0
vb_active_hp_vb_req_size:                              0
vb_active_ht_memory:                                   2629632
vb_active_itm_memory:                                  757216
vb_active_itm_memory_uncompressed:                     757216
vb_active_meta_data_disk:                              96225
vb_active_meta_data_memory:                            153165
vb_active_num:                                         1024
vb_active_num_non_resident:                            0
vb_active_ops_create:                                  2190
vb_active_ops_delete:                                  0
vb_active_ops_reject:                                  0
vb_active_ops_update:                                  0
vb_active_perc_mem_resident:                           100
vb_active_queue_age:                                   0
vb_active_queue_drain:                                 3214
vb_active_queue_fill:                                  3214
vb_active_queue_memory:                                0
vb_active_queue_pending:                               0
vb_active_queue_size:                                  0
vb_active_rollback_item_count:                         0
vb_dead_num:                                           0
vb_pending_backfill_queue_size:                        0
vb_pending_checkpoint_memory:                          0
vb_pending_checkpoint_memory_overhead:                 0
vb_pending_checkpoint_memory_unreferenced:             0
vb_pending_curr_items:                                 0
vb_pending_eject:                                      0
vb_pending_expired:                                    0
vb_pending_hp_vb_req_size:                             0
vb_pending_ht_memory:                                  0
vb_pending_itm_memory:                                 0
vb_pending_itm_memory_uncompressed:                    0
vb_pending_meta_data_disk:                             0
vb_pending_meta_data_memory:                           0
vb_pending_num:                                        0
vb_pending_num_non_resident:                           0
vb_pending_ops_create:                                 0
vb_pending_ops_delete:                                 0
vb_pending_ops_reject:                                 0
vb_pending_ops_update:                                 0
vb_pending_perc_mem_resident:                          100
vb_pending_queue_age:                                  0
vb_pending_queue_drain:                                0
vb_pending_queue_fill:                                 0
vb_pending_queue_memory:                               0
vb_pending_queue_pending:                              0
vb_pending_queue_size:                                 0
vb_pending_rollback_item_count:                        0
vb_replica_backfill_queue_size:                        0
vb_replica_checkpoint_memory:                          0
vb_replica_checkpoint_memory_overhead:                 0
vb_replica_checkpoint_memory_unreferenced:             0
vb_replica_curr_items:                                 0
vb_replica_eject:                                      0
vb_replica_expired:                                    0
vb_replica_hp_vb_req_size:                             0
vb_replica_ht_memory:                                  0
vb_replica_itm_memory:                                 0
vb_replica_itm_memory_uncompressed:                    0
vb_replica_meta_data_disk:                             0
vb_replica_meta_data_memory:                           0
vb_replica_num:                                        0
vb_replica_num_non_resident:                           0
vb_replica_ops_create:                                 0
vb_replica_ops_delete:                                 0
vb_replica_ops_reject:                                 0
vb_replica_ops_update:                                 0
vb_replica_perc_mem_resident:                          100
vb_replica_queue_age:                                  0
vb_replica_queue_drain:                                0
vb_replica_queue_fill:                                 0
vb_replica_queue_memory:                               0
vb_replica_queue_pending:                              0
vb_replica_queue_size:                                 0
vb_replica_rollback_item_count:                        0
version:                                               5.5.0-2956
wbufs_allocated:                                       12
wbufs_existing:                                        10600
wbufs_loaned:                                          19140