mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 22:55:55 +03:00
parent
d9bdce6848
commit
4208ab81e0
@ -36,7 +36,9 @@ glancesApp.service('GlancesPluginProcessList', function($filter, GlancesPlugin)
|
|||||||
|
|
||||||
process.isNice = process.nice !== undefined && ((data['system'].os_name === 'Windows' && process.nice != 32) || (data['system'].os_name !== 'Windows' && process.nice != 0));
|
process.isNice = process.nice !== undefined && ((data['system'].os_name === 'Windows' && process.nice != 32) || (data['system'].os_name !== 'Windows' && process.nice != 0));
|
||||||
|
|
||||||
process.cmdline = process.cmdline.join(' ');
|
if (Array.isArray(process.cmdline)) {
|
||||||
|
process.cmdline = process.cmdline.join(' ');
|
||||||
|
}
|
||||||
|
|
||||||
this.processes.push(process);
|
this.processes.push(process);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user