@sinet/container-status

Simple way to provide the status of a container

Stats

StarsIssuesVersionUpdatedCreatedSize
@sinet/container-status
002.0.05 years ago6 years agoMinified + gzip package size for @sinet/container-status in KB

Readme

Container Status

Build Status Dependency Status devDependency Status

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 @sinet/container-status --save

Example

var Status = require( '@sinet/container-status' );
var status = new Status();

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

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

Contributing

All pull requests must follow coding conventions and standards.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.