Hi Jadolfo,

Glad to hear that this can solve your issue, probably for other users as
well.

I have created a related GH issue to implement this functionality in
Telegraf: https://github.com/influxdata/telegraf/issues/1828

On Thu, Sep 29, 2016 at 6:46 PM, <[email protected]> wrote:

> > 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.
>



-- 
Konstantinos Botsas
Support Engineer
InfluxData

-- 
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/CALk5Yvkb3-HTbxpH5_4k%2Bn-ivAMNzCSgj%2B8FrZZMGk1d-X%3DZBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to