ntpd_status
1.0.0 • Public • Published ntpd-status 
Ask the local ntpd
for status data, using ntpdc
.
Example
var ntpd = require('./lib/ntpd_status');
ntpd.ntpdc('loopinfo', function (err, result) {
if (err)
throw err;
for (var key in result) {
console.log(key + ': ' + result[key].value + ' ' + result[key].unit);
}
});
License
MIT
Keywords
noneInstall
npm i ntpd_status
Weekly Downloads