lib/info.js
function getStats() {
  var o = {};
  o.total_connections_received = this.stats.connections;
  o.total_commands_processed = this.stats.commands;
  o.total_net_input_bytes = this.stats.ibytes;
  o.total_net_output_bytes = this.stats.obytes;

  o.rejected_connections = this.stats.rejected;

  o.expired_keys = this.stats.expired;
  o.keyspace_hits = this.stats.hits;
  o.keyspace_misses = this.stats.misses;

  o.pubsub_channels = this.stats.pubsub_channels;
  o.pubsub_patterns = this.stats.pubsub_patterns;

  return o;
}
function getStats() {
  var o = {};
  o.total_connections_received = this.stats.connections;
  o.total_commands_processed = this.stats.commands;
  o.total_net_input_bytes = this.stats.ibytes;
  o.total_net_output_bytes = this.stats.obytes;

  o.rejected_connections = this.stats.rejected;

  o.expired_keys = this.stats.expired;
  o.keyspace_hits = this.stats.hits;
  o.keyspace_misses = this.stats.misses;

  o.pubsub_channels = this.stats.pubsub_channels;
  o.pubsub_patterns = this.stats.pubsub_patterns;

  return o;
}
function getStats ( ) { var o = { } ; o . total_connections_received = this . stats . connections ; o . total_commands_processed = this . stats . commands ; o . total_net_input_bytes = this . stats . ibytes ; o . total_net_output_bytes = this . stats . obytes ; o . rejected_connections = this . stats . rejected ; o . expired_keys = this . stats . expired ; o . keyspace_hits = this . stats . hits ; o . keyspace_misses = this . stats . misses ; o . pubsub_channels = this . stats . pubsub_channels ; o . pubsub_patterns = this . stats . pubsub_patterns ; return o ; }
Get stats info section.
Get stats info section .