Add cluster or sentinel to proc title #1559

Merged
merged 1 commit into from Feb 21, 2014

Projects

None yet

2 participants

Contributor
mattsta commented Feb 21, 2014

If you launch redis with redis-server --sentinel then
in a ps, your output only says "redis-server IP:Port" — this
patch changes the proc title to include [sentinel] or
[cluster] depending on the current server mode:
e.g. "redis-server IP:Port [sentinel]"
"redis-server IP:Port [cluster]"

@mattsta mattsta Add cluster or sentinel to proc title
If you launch redis with `redis-server --sentinel` then
in a ps, your output only says "redis-server IP:Port" — this
patch changes the proc title to include [sentinel] or
[cluster] depending on the current server mode:
e.g.  "redis-server IP:Port [sentinel]"
      "redis-server IP:Port [cluster]"
2c273e3
@antirez antirez merged commit 1d7d1d9 into antirez:unstable Feb 21, 2014
Owner
antirez commented Feb 21, 2014

Thanks Matt!

@mattsta mattsta deleted the mattsta:more-detailed-process-title branch Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment