#Certain processes won’t group and I can only see their stats under functions

1 messages · Page 1 of 1 (latest)

mossy charm
#

Hi Support! I was tweaking apps_groups.conf and added say mygroup: myprocessname as I can tell the process name via ps -e on the server. There are multiple processes of the same name running on the server as the process isn’t containerized.

When I start my netdata again after, I can see the ‘other’ category show CPU etc but it won’t turn those processes into a mygroup.

Then when i go to functions I can see those processes and see the PIDs, cmd and CPU. The category is showing up as ‘other’. I can toggle to view cpu per PID on functions but I don’t seem to do anything more while in the functions section like save a view per pid on the dashboard.

What I really want is for each of those cmd/processes under mygroup to show up on a dashboard. Alternatively, I would like the mygroup to be mygroup and not show up as ‘other’.

Is there a config file and an example to show how I can get closer to my goal? Please and thank you!

mossy charm
#

Hi @delicate seal! Just bringing this one to your attention, any help here will be greatly appreciated! Thank you!

delicate seal
#

can you see mygroup as its own line in the apps.* charts?

#

(i think if so then should be picked up by functions yoo)

#

'too'

twilit berry
#

Pay attention to

You can add an asterisk * at the beginning and/or the end of a process:

- *name suffix mode: will search for processes ending with name (at /proc/PID/stat)
- name* prefix mode: will search for processes beginning with name (at /proc/PID/stat)
- *name* substring mode: will search for name in the whole command line (at /proc/PID/cmdline)
#

You can check your process (change PID, comm is equal to the value in stat, so can use it)

/proc/PID/comm
cat /proc/PID/cmdline | tr "\0" " "
#

Apps uses comm to match when pattern is *name or name* and cmdline when *name*