lib/operations/admin_ops.js
function replSetGetStatus(admin, options, callback) {
  executeDbAdminCommand(admin.s.db, { replSetGetStatus: 1 }, options, callback);
}
function replSetGetStatus(admin, options, callback) {
  executeDbAdminCommand(admin.s.db, { replSetGetStatus: 1 }, options, callback);
}
function replSetGetStatus ( admin , options , callback ) { executeDbAdminCommand ( admin . s . db , { replSetGetStatus : 1 } , options , callback ) ; }
Get ReplicaSet status

@param {Admin} a collection instance.
@param {Object} [options] Optional settings. See Admin.prototype.replSetGetStatus for a list of options.
@param {Admin~resultCallback} [callback] The command result callback.
Get ReplicaSet status