> Hi,
> 
> pgrep support the "-x" argument which exactly matches the given pattern, do 
> you think adding this as an additional option to the procstat plugin would 
> help with your use case?
> 
> As an alternative you can use regular expressions to further adjust your 
> pattern matching.


Hi, thanks for answer. I test pgrep using the '-x' argunment and it is all I 
need, using 'pgrep -f -x [pattern of cmd]' only return my process, and 
becausing of the '-x' will only match with my node process.

So if telegraf can support this flags, it would be awesome. 

I can try others regular expressions for now.

Thanks.

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" 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/eb01aeb8-988c-490b-a8fa-8d5139b0f6ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to