Add command to list currently subscribed clients#49
Add command to list currently subscribed clients#49franzflasch wants to merge 1 commit intotroglobit:masterfrom
Conversation
|
FYI: the output looks like this: And in case timerfd_gettime returns an error (e.g. when watchdogd is disabled): It just returns 0ms instead of an invalid value. |
259b6a2 to
65a9edc
Compare
|
Any chance that this gets merged? |
|
Sorry for the late reply, I've been swamped with other duties, yet I have been thinking about this one long and hard in the background, unsure how to reply ... ... because I really don't want to discourage you, but I would like to get the client list displayed by This means extra work on the IPC between the daemon and the client (I've done this in other projects of mine already, e.g., finit, mrouted, and a few others). |
|
Thanks for your reply. Having it as stdout by |
|
That's just it, I have no current plans to work on watchdogd, so if you'd like to have a go at it I'm happy to review. |
|
Thank you for this contribution! I've adopted it and added JSON output support as well. |
I thought it would be useful to have a list of subscribed clients and get some status information about them. So I added a new supervisor cmd to log that information on request.