Curr_connection multiple values


#1

Hi All,

I am trying to get the current connections from my couchbase instance.

i used cbstats and got a value.
admin@xxx-cb01 ~]$ /opt/couchbase/bin/cbstats xxx-cb01:11210 all -b MANG | grep curr_connections
curr_connections: 1359

To verify the value i tried checking the same from REST API

http://xxx-cb01:8091/pools/default/buckets/MANG/stats/

“curr_connections”:[5778,7315,7309,7309,7313,7309,7309,7309,7309,7309,7309,7317,7309,7309,7309,7309,7309,7317,7309,7309,7309,7315,7309,7309,7309,7309,7309,7309,7317,7309,7309,7317,7309,7309,7309,7309,7309,7317,7309,7312,7309,7317,7309,7309,7315,7309,7309,7317,7309,7309,7309,7317,7309,7309,7309,7309,7309,7309,7309,7309]

Ideally these 2 values should be matching? which one is the current Stats?

I am kind of beginner in CB. Please help me identify the correct solution.

Thanks in Advance
Anil