src/ping.js
function info (cb) {
  var data = {
    name: pjson.name,
    message: 'pong',
    version: pjson.version,
    node_env: process.env.NODE_ENV,
    node_ver: process.versions.node,
    timestamp: Date.now(),
    hostname: os.hostname(),
    uptime: process.uptime(),
    loadavg: os.loadavg()[0]
  };

  cb(null, data);
}
function info (cb) {
  var data = {
    name: pjson.name,
    message: 'pong',
    version: pjson.version,
    node_env: process.env.NODE_ENV,
    node_ver: process.versions.node,
    timestamp: Date.now(),
    hostname: os.hostname(),
    uptime: process.uptime(),
    loadavg: os.loadavg()[0]
  };

  cb(null, data);
}
function info ( cb ) { var data = { name : pjson . name , message : 'pong' , version : pjson . version , node_env : process . env . NODE_ENV , node_ver : process . versions . node , timestamp : Date . now ( ) , hostname : os . hostname ( ) , uptime : process . uptime ( ) , loadavg : os . loadavg ( ) [ 0 ] } ; cb ( null , data ) ; }
Get system informaton
@param {Function} cb
Get system informaton