Skip to content

Commit

Permalink
WebUI doesn't display valid time for process list #2902
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Nov 17, 2024
1 parent feefcd4 commit 40299a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions glances/outputs/static/js/components/plugin-processlist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ export default {
process.timeplus = '?';
process.timemillis = '?';
if (process.cpu_times) {
process.timeplus = timedelta(process.cpu_times);
process.timemillis = timemillis(process.cpu_times);
process.timeplus = timedelta([process.cpu_times['user'], process.cpu_times['system']]);
process.timemillis = timemillis([process.cpu_times['user'], process.cpu_times['system']]);
}
if (process.num_threads === null) {
Expand Down Expand Up @@ -371,8 +371,8 @@ export default {
process.timeplus = '?';
process.timemillis = '?';
if (process.cpu_times) {
process.timeplus = timedelta(process.cpu_times);
process.timemillis = timemillis(process.cpu_times);
process.timeplus = timedelta([process.cpu_times['user'], process.cpu_times['system']]);
process.timemillis = timemillis([process.cpu_times['user'], process.cpu_times['system']]);
}
if (process.num_threads === null) {
Expand Down
2 changes: 1 addition & 1 deletion glances/outputs/static/public/glances.js

Large diffs are not rendered by default.

0 comments on commit 40299a6

Please sign in to comment.