Hi, Is there a way to count number of processes. Example: telegraf.conf==> [[inputs.procstat]] exe = "mingetty"
server1 > ps -ef | grep mingetty root 7858 27913 0 18:34 pts/1 00:00:00 grep --color=auto mingetty root 11561 1 0 Nov23 tty1 00:00:00 /sbin/mingetty /dev/tty1 root 11564 1 0 Nov23 tty2 00:00:00 /sbin/mingetty /dev/tty2 root 11566 1 0 Nov23 tty3 00:00:00 /sbin/mingetty /dev/tty3 root 11568 1 0 Nov23 tty4 00:00:00 /sbin/mingetty /dev/tty4 root 11570 1 0 Nov23 tty5 00:00:00 /sbin/mingetty /dev/tty5 root 11572 1 0 Nov23 tty6 00:00:00 /sbin/mingetty /dev/tty6 I dont see any field that shows me total count of process? I do see telegraf is collecting data for all the 6 processes but nothing to show overall count. -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/c0743212-5f0f-4ee8-b5e7-1a5cedbd0e3a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
