/*!
* jQuery JavaScript Library v2.0.2
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-05-30T21:25Z
*/
!function(d,k){function a(t){var e=t.length,n=Et.type(t);return!Et.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||"function"!==n&&(0===e||"number"==typeof e&&0
")).replace(/\n/g,"
"))+"
Client Connections | \nClient EOF | \nClient Errors | \nForward Errors | \nFragments | \nServer Ejects | \n
---|---|---|---|---|---|
'),s.push(a(this.model.get("client_connections"))),s.push(" | \n"),s.push(a(this.model.get("client_eof"))),s.push(" | \n"),s.push(a(this.model.get("client_err"))),s.push(" | \n"),s.push(a(this.model.get("forward_error"))),s.push(" | \n"),s.push(a(this.model.get("fragments"))),s.push(" | \n"),s.push(a(this.model.get("server_ejects"))),s.push(' | \n
Host | \nFree Memory | \nUsed Memory | \nUsed Memory RSS | \nMax Memory | \nFragmentation | \n'),s.push(a(n.get("hostname"))),s.push(" | \n"),s.push(a(humanize.filesize(n.get("freeMemory")))),s.push(" | \n"),s.push(a(humanize.filesize(n.get("usedMemory")))),s.push(" | \n"),s.push(a(humanize.filesize(n.get("usedMemoryRss")))),s.push(" | \n"),s.push(a(humanize.filesize(n.get("maxMemory")))),s.push(" | \n"),s.push(a(n.get("fragmentation"))),s.push(" | \n \n ");s.push("\n
---|---|---|---|---|---|
\n | "),s.push(a(humanize.filesize(_(this.model.get("nodes").pluck("freeMemory")).sum()))),s.push(" | \n"),s.push(a(humanize.filesize(_(this.model.get("nodes").pluck("usedMemory")).sum()))),s.push(" | \n"),s.push(a(humanize.filesize(_(this.model.get("nodes").pluck("usedMemoryRss")).sum()))),s.push(" | \n"),s.push(a(humanize.filesize(_(this.model.get("nodes").pluck("maxMemory")).sum()))),s.push(" | \n~"),s.push(a(humanize.numberFormat(_(this.model.get("nodes").pluck("fragmentation")).average(),2))),s.push(" | \n
In-Queue | '),s.push(a(this.model.get("in_queue"))),s.push(" |
---|---|
In-Queue Memory Size | "),s.push(a(humanize.filesize(this.model.get("in_queue_bytes")))),s.push(" |
Out-Queue | "),s.push(a(this.model.get("out_queue"))),s.push(" |
Out-Queue Memory Size | "),s.push(a(humanize.filesize(this.model.get("out_queue_bytes")))),s.push(" |
Requests | "),s.push(a(this.model.get("requests"))),s.push(" |
Requests Memory Size | "),s.push(a(humanize.filesize(this.model.get("request_bytes")))),s.push(" |
Responses | "),s.push(a(this.model.get("responses"))),s.push(" |
Responses Memory Size | "),s.push(a(humanize.filesize(this.model.get("response_bytes")))),s.push(" |
Server Connections | "),s.push(a(this.model.get("server_connections"))),s.push(" |
Server EOF | "),s.push(a(this.model.get("server_eof"))),s.push(" |
Server Error | "),s.push(a(this.model.get("server_err"))),s.push(" |
Server Timedout | "),s.push(a(this.model.get("server_timedout"))),s.push(' |
Hits | '),s.push(a(humanize.numberFormat(this.model.get("info").hits,0))),s.push(" |
---|---|
Misses | "),s.push(a(humanize.numberFormat(this.model.get("info").misses,0))),s.push(" |
Hit Ratio | "),s.push(a(humanize.numberFormat(this.model.get("info").hit_ratio,2))),s.push(" |
Max Memory | "),s.push(a(humanize.filesize(this.model.get("info").max_memory))),s.push(" |
Used Memory | "),s.push(a(humanize.filesize(this.model.get("info").used_memory))),s.push(" |
Used Memory RSS | "),s.push(a(humanize.filesize(this.model.get("info").used_memory_rss))),s.push(" |
Connections | "),s.push(a(this.model.get("info").connections)),s.push(" |
Keys | "),s.push(a(humanize.numberFormat(this.model.get("info").keys,0))),s.push(" |
Evicted Keys | "),s.push(a(humanize.numberFormat(this.model.get("info").evicted_keys,0))),s.push(" |
Expired Keys | "),s.push(a(humanize.numberFormat(this.model.get("info").expired_keys,0))),s.push(" |
Fragmentation | "),s.push(a(humanize.numberFormat(this.model.get("info").fragmentation,2))),s.push(" |
Hostname | '),u.push(l(this.model.get("source"))),u.push(" |
---|---|
Service | Nutcracker Ver. "),u.push(l(this.model.get("version"))),u.push(" |
Uptime | "),u.push(l(humanize.relativeTime((new Date-1e3*this.model.get("uptime"))/1e3))),u.push(" |
Server Connections | "),u.push(l(this.model.get("serverConnections"))),u.push(" |
Client Connections | "),u.push(l(this.model.get("clientConnections"))),u.push(" |
Total Clusters | \n\n "),e=0,r=(s=this.model.get("clusters").models).length;e \n ");for(u.push("\n | \n
Total Nodes | \n\n "),n=0,i=(a=this.model.nodes().models).length;n'),u.push(l(o.get("hostname"))),u.push(" \n ");u.push("\n | \n