Skip to content

Commit

Permalink
show memcached memory stats on cbtop
Browse files Browse the repository at this point in the history
  • Loading branch information
ronniedada committed Sep 27, 2012
1 parent defa680 commit 073eb8a
Showing 1 changed file with 30 additions and 21 deletions.
51 changes: 30 additions & 21 deletions metadata/stats.json
@@ -1,4 +1,13 @@
{
"mc-host": {
"col": "HOST",
"desc": "Hostname of the memcached server",
"section": "Memory Stats",
"pos": 0,
"visit": "slow",
"new_row": "true"
}
,
"mc-ep_version": {
"col": "ep_version",
"desc": "Version number of ep_engine.",
Expand Down Expand Up @@ -344,7 +353,7 @@
}
,
"mc-ep_kv_size": {
"col": "ep_kv_size",
"col": "EP_KV",
"desc": "Memory used to store item metadata, keys and values, no matter the vbucket's state. If an item's value is ejected, this stat will be decremented by the size of the item's value.",
"section": "Toplevel Stats",
"pos": 44,
Expand Down Expand Up @@ -380,15 +389,15 @@
"desc": "Low water mark for auto-evictions.",
"section": "Toplevel Stats",
"pos": 48,
"visit": "fast"
"visit": "slow"
}
,
"mc-ep_mem_high_wat": {
"col": "ep_mem_high_wat",
"desc": "High water mark for auto-evictions.",
"section": "Toplevel Stats",
"pos": 49,
"visit": "fast"
"visit": "slow"
}
,
"mc-ep_total_cache_size": {
Expand Down Expand Up @@ -2408,119 +2417,119 @@
}
,
"mc-bytes": {
"col": "bytes",
"col": "EP_BYTES_TOT",
"desc": "Engine's total memory usage",
"section": "Memory Stats",
"pos": 302,
"visit": "fast"
}
,
"mc-ep_kv_size": {
"col": "ep_kv_size",
"col": "EP_KV",
"desc": "Memory used to store item metadata, keys and values, no matter the vbucket's state. If an item's value is ejected, this stat will be decremented by the size of the item's value.",
"section": "Memory Stats",
"pos": 303,
"visit": "fast"
}
,
"mc-ep_value_size": {
"col": "ep_value_size",
"col": "EP_VAL",
"desc": "Memory used to store values for resident keys.",
"section": "Memory Stats",
"pos": 304,
"visit": "fast"
}
,
"mc-ep_overhead": {
"col": "ep_overhead",
"col": "EP_OVERHEAD",
"desc": "Extra memory used by transient data like persistence queue, replication queues, checkpoints, etc.",
"section": "Memory Stats",
"pos": 305,
"visit": "fast"
}
,
"mc-ep_max_data_size": {
"col": "ep_max_data_size",
"col": "EP_MAX_DATA",
"desc": "Max amount of data allowed in memory",
"section": "Memory Stats",
"pos": 306,
"visit": "fast"
"visit": "slow"
}
,
"mc-ep_mem_low_wat": {
"col": "ep_mem_low_wat",
"col": "EP_LOW_WAT",
"desc": "Low water mark for auto-evictions",
"section": "Memory Stats",
"pos": 307,
"visit": "fast"
"visit": "slow"
}
,
"mc-ep_mem_high_wat": {
"col": "ep_mem_high_wat",
"col": "EP_HIGH_WAT",
"desc": "High water mark for auto-evictions",
"section": "Memory Stats",
"pos": 308,
"visit": "fast"
}
,
"mc-ep_oom_errors": {
"col": "ep_oom_errors",
"col": "#ERR_OOM",
"desc": "Number of times unrecoverable OOMs happened while processing operations",
"section": "Memory Stats",
"pos": 309,
"visit": "fast"
}
,
"mc-ep_tmp_oom_errors": {
"col": "ep_tmp_oom_errors",
"col": "#ERR_TMP_OOM",
"desc": "Number of times temporary OOMs happened while processing operations",
"section": "Memory Stats",
"pos": 310,
"visit": "fast"
}
,
"mc-tcmalloc_allocated_bytes": {
"col": "tcmalloc_allocated_bytes",
"col": "TCM_ALLOC",
"desc": "Engine's total memory usage reported from tcmalloc",
"section": "Memory Stats",
"pos": 311,
"visit": "fast"
}
,
"mc-tcmalloc_heap_size": {
"col": "tcmalloc_heap_size",
"col": "TCM_HEAP_SIZE",
"desc": "Bytes of system memory reserved by tcmalloc",
"section": "Memory Stats",
"pos": 312,
"visit": "fast"
}
,
"mc-tcmalloc_free_bytes": {
"col": "tcmalloc_free_bytes",
"col": "TCM_FREE",
"desc": "Number of bytes in free, mapped pages in page heap",
"section": "Memory Stats",
"pos": 313,
"visit": "fast"
}
,
"mc-tcmalloc_unmapped_bytes": {
"col": "tcmalloc_unmapped_bytes",
"col": "TCM_UNMAPPED",
"desc": "Number of bytes in free, unmapped pages in page heap. These are bytes that have been released back to OS.",
"section": "Memory Stats",
"pos": 314,
"visit": "fast"
}
,
"mc-tcmalloc_max_thread_cache_bytes": {
"col": "tcmalloc_max_thread_cache_bytes",
"col": "TCM_MAX_TCACHE",
"desc": "A limit to how much memory TCMalloc dedicates for small objects.",
"section": "Memory Stats",
"pos": 315,
"visit": "fast"
"visit": "slow"
}
,
"mc-tcmalloc_current_thread_cache_bytes": {
"col": "tcmalloc_current_thread_cache_bytes",
"col": "TCM_CUR_TCACHE",
"desc": "A measure of some of the memory TCMalloc is using for small objects.",
"section": "Memory Stats",
"pos": 316,
Expand Down

0 comments on commit 073eb8a

Please sign in to comment.