Sindbad~EG File Manager

Current Path : /lib/python2.7/site-packages/glances/outputs/static/js/services/plugins/
Upload File :
Current File : //lib/python2.7/site-packages/glances/outputs/static/js/services/plugins/glances_processcount.js

glancesApp.service('GlancesPluginProcessCount', function() {
    var _pluginName = "processcount";

    this.total  = null;
    this.running = null;
    this.sleeping = null;
    this.stopped = null;
    this.thread = null;

    this.setData = function(data, views) {
        data = data[_pluginName];

        this.total = data['total'];
        this.running = data['running'];
        this.sleeping = data['sleeping'];
        this.stopped = data['stopped'];
        this.thread = data['thread'];
    };
});

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists