You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# HELP namedprocess_namegroup_num_procs number of processes in this group
# TYPE namedprocess_namegroup_num_procs gauge
namedprocess_namegroup_num_procs{groupname="/bin/sh-179576"} 2
.....
# HELP namedprocess_namegroup_num_threads Number of threads
# TYPE namedprocess_namegroup_num_threads gauge
namedprocess_namegroup_num_threads{groupname="/bin/sh-179576"} 2
....
# HELP namedprocess_namegroup_states Number of processes in states Running, Sleeping, Waiting, Zombie, or Other
# TYPE namedprocess_namegroup_states gauge
namedprocess_namegroup_states{groupname="/bin/sh-179576",state="Other"} 0
namedprocess_namegroup_states{groupname="/bin/sh-179576",state="Running"} 0
namedprocess_namegroup_states{groupname="/bin/sh-179576",state="Sleeping"} 2
namedprocess_namegroup_states{groupname="/bin/sh-179576",state="Waiting"} 0
namedprocess_namegroup_states{groupname="/bin/sh-179576",state="Zombie"} 0
....
# HELP namedprocess_namegroup_threads_wchan Number of threads in this group waiting on each wchan
# TYPE namedprocess_namegroup_threads_wchan gauge
namedprocess_namegroup_threads_wchan{groupname="/bin/sh-179576",wchan="do_wait"} 1
namedprocess_namegroup_threads_wchan{groupname="/bin/sh-179576",wchan="hrtimer_nanosleep"} 1
Hello,
Here is a sh script which I want to monitor by process_exporter, it is executed by the command:
The abstract logic of the
mon_macs
is as followsMy config of process_exporter is as follows:
the
/proc/[pid]/stat
is as follows, thenum_threads(20)
is 1 if I understand correctly:Here is the part of metrics output
And here is pstree output:
I'm not familiar with Linux programming, maybe is not an issue, but may I ask why?
The text was updated successfully, but these errors were encountered: