lib/info.js
function getServer() {
  var o = {}
    , uptime = process.uptime()
  o.version = this.version;
  o.os = process.platform;
  o.arch = process.arch;
  o.process_id = process.pid;

  o.tcp_port = this.state.addr && this.state.addr.port
    ? this.state.addr.port : NA;

  o.uptime_in_seconds = uptime;
  o.uptime_in_days = Math.floor(uptime / DAY_SECS);
  o.hz = this.conf.get(ConfigKey.HZ);
  o.config_file = this.conf.isDefault() ? '' : this.conf.getFile();
  return o;
}
function getServer() {
  var o = {}
    , uptime = process.uptime()
  o.version = this.version;
  o.os = process.platform;
  o.arch = process.arch;
  o.process_id = process.pid;

  o.tcp_port = this.state.addr && this.state.addr.port
    ? this.state.addr.port : NA;

  o.uptime_in_seconds = uptime;
  o.uptime_in_days = Math.floor(uptime / DAY_SECS);
  o.hz = this.conf.get(ConfigKey.HZ);
  o.config_file = this.conf.isDefault() ? '' : this.conf.getFile();
  return o;
}
function getServer ( ) { var o = { } , uptime = process . uptime ( ) o . version = this . version ; o . os = process . platform ; o . arch = process . arch ; o . process_id = process . pid ; o . tcp_port = this . state . addr && this . state . addr . port ? this . state . addr . port : NA ; o . uptime_in_seconds = uptime ; o . uptime_in_days = Math . floor ( uptime / DAY_SECS ) ; o . hz = this . conf . get ( ConfigKey . HZ ) ; o . config_file = this . conf . isDefault ( ) ? '' : this . conf . getFile ( ) ; return o ; }
Get server info section.
Get server info section .