Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    mysqlinfopublic

    Nodejs Get mysql stats (for linux)

    This module access mysqladmin and provide all infos as an object

    Ex.:

    var mysqlinfo = require('mysqlinfo');
     
    mysqlinfo.on('update', function(d) { console.log(d); });
    mysqlinfo.update();

    By defqult it use 'root' but you can specify a user :

    var mysqlinfo = require('mysqlinfo');
     
    mysqlinfo.on('update', function(d) { console.log(d); });
    mysqlinfo.update('userTest');

    Keywords

    none

    install

    npm i mysqlinfo

    Downloadslast 7 days

    3

    version

    0.1.0

    license

    none

    last publish

    collaborators

    • avatar