node_ms_status

1.0.6 • Public • Published

A simple package to determine the status of a container. It provides the following type of data:

{
	'commit'   : 'a208c3b11a89b89eb1018f37d37c22a725024b46',
	'uptime'   : 103.558,
	'hostname' : 'hostname',
	'totalmem' : 17179869184,
	'freemem'  : 225099776,
	'loadavg'  : [ 2.40087890625, 2.50927734375, 2.65625 ]
}

Usage

npm install node_ms_status --save

Example

var Status = require( 'node_ms_status' );
var status = new Status();

console.log( "status:", status );

setTimeout(function () {
	console.log( "status:", status );
}, 2000);

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i node_ms_status

    Weekly Downloads

    1

    Version

    1.0.6

    License

    ISC

    Unpacked Size

    4.57 kB

    Total Files

    4

    Last publish

    Collaborators

    • mashu.daishi