summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorSuraj Neupane <neupanesuraj@gmail.com>2022-03-08 08:33:08 +0200
committerGitHub <noreply@github.com>2022-03-08 08:33:08 +0200
commit64375154fe518342e50c8d0608992ad374fa6a31 (patch)
tree84a77ad84480fd4075743fbd234d0fb4f3f45448 /web
parent7a0fa001284b32db450615b1a920c7ef5f7e4111 (diff)
introduce new chart for process states metrics (#12305)
* 12139: introduce new chart for process states metrics This commit introduces new chart for total number of processes in different states i.e running, sleeping, sleeping_d, zombie and stopped. * fix recursive chart generation issue * fix recursive chart addition * fixing comments * Update web/gui/dashboard_info.js Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * Update collectors/apps.plugin/apps_plugin.c Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * fixing commenets * Apply suggestions from code review * Update collectors/apps.plugin/apps_plugin.c * Update collectors/apps.plugin/apps_plugin.c Co-authored-by: Timotej S. <6674623+underhood@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> Co-authored-by: Timotej S. <6674623+underhood@users.noreply.github.com> Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
Diffstat (limited to 'web')
-rw-r--r--web/gui/dashboard_info.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/web/gui/dashboard_info.js b/web/gui/dashboard_info.js
index 9749794e33..6400718a3e 100644
--- a/web/gui/dashboard_info.js
+++ b/web/gui/dashboard_info.js
@@ -1218,6 +1218,19 @@ netdataDashboard.context = {
'<b>Blocked</b> - currently blocked, waiting for I/O to complete.</p>'
},
+ 'system.processes_state': {
+ info: '<p>The number of processes in different states. </p> '+
+ '<p><b>Running</b> - Process using the CPU at a particular moment. '+
+ '<b>Sleeping (uninterruptible)</b> - Process will wake when a waited-upon resource becomes available or after a time-out occurs during that wait. '+
+ 'Mostly used by device drivers waiting for disk or network I/O. '+
+ '<b>Sleeping (interruptible)</b> - Process is waiting either for a particular time slot or for a particular event to occur. '+
+ '<b>Zombie</b> - Process that has completed its execution, released the system resources, but its entry is not removed from the process table. '+
+ 'Usually occurs in child processes when the parent process still needs to read its child’s exit status. '+
+ 'A process that stays a zombie for a long time is generally an error and causes system PID space leak. '+
+ '<b>Stopped</b> - Process is suspended from proceeding further due to STOP or TSTP signals. ' +
+ 'In this state, a process will not do anything (not even terminate) until it receives a CONT signal.</p>'
+ },
+
'system.active_processes': {
info: 'The total number of processes in the system.'
},