Add client IP to the watch command response

23 views
Skip to first unread message

chinmay gupta

unread,
Jun 21, 2020, 6:21:39 PM6/21/20
to memcached
Hey

Would it be possible to add client IP information to the `watch ...` command log response with its current implementation?

I am willing to contribute if it can be done.

dormando

unread,
Jun 21, 2020, 6:29:58 PM6/21/20
to memcached
Hey,

The "cfd" is the client FD, which you can resolve via "stats conns".

We could add more information. I need to rethink this a bit, maybe.
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to memcached+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/memcached/9841ee74-2535-426a-a8fd-cf5f8ccf8c15o%40googlegroups.com.
>
>

chinmay gupta

unread,
Jun 21, 2020, 6:50:38 PM6/21/20
to memc...@googlegroups.com
Ohh got it, saw the test script within the repo that does that. I am on 1.5.16 and hence never got that "cfd" column.

Thanks for the info.

Reply all
Reply to author
Forward
0 new messages