如何在 Redis 服务器中查找 Redis 消息的来源列表[IP]

How to find list of sources[IP] of the redis messages in Redis server

我的 Redis 服务器实例处理多个发布者。如何找到在特定时间限制内在 Redis Server 中发布消息的来源列表[IP]?

我已经得到答案并张贴出来供其他人参考。

redis-cli>client list

上述命令将给出连接到 receive/send 条消息的 IP 列表。