/usr/lib/python3/dist-packages/glances/outputs/static/js/services/plugins/glances_uptime.js is in glances 2.7.1.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | glancesApp.service('GlancesPluginUptime', function() {
this.uptime = null;
this.setData = function(data, views) {
this.uptime = data['uptime'];
};
});
|