#!/usr/bin/env nodevar svcs = require('../').svcs;
svcs(function(err, services) {
// services => list of fmri's on the systemconsole.log(services);
});
svcs('boot-archive', function(err, svc) {
// svc => an associative array of service informationconsole.log(svc);
});