[LAU] Re: monitoring jack connections
Paul Davis <[email protected]>
| Newsgroups | gmane.linux.audio.users |
|---|---|
| Message-ID | <CAFa_cKm3Q6=zWOsMvxKb7coYxm8P0va4T0=RcehJxKhWnpUo2A@mail.gmail.com> |
Check out jack_evmon .... On Mon, Oct 27, 2025 at 6:44 AM Bill Purvis <[email protected]> wrote: > > > On 26/10/2025 21:31, Worik wrote: > > > I've been having problems with connections between jack clients > dropping out. > > I would like to have a program that monitors the state of connections. > > I use `watch jack_lsp -c` > > If it is too inconvenient to see that much I filter it with grep. > > Is that not possible or suitable? > > Thanks! > > I'm currently doing a variant of that - using a bash script instead of > watch. > I append the source port name, and pipe the result through 'wc -l'. There > are actually > five source ports, so if all is well I get a value of 10 returned. > Anything less > suggests one or more of the connections has failed. > > Just installed it on the organ this morning, and it looks to be working OK. > Currently it attempts to reconnect all five connections, I may refine it to > check the individual connections. If only one has dropped out the reconnect > script get several error messages to say it can't reconnect as it is > already > connected! > > I'm toying with using the jack_set_graph_order_callback to get an explicit > trigger to do the reconnect. That way I don't need to poll using jack_lsp > every 10 seconds. Needs a bit more experimenting to build the code to > do this. > > Thanks also to Kjetil Matheussen who suggested this! > > Bill > > -- > +---------------------------------------------+ > | Bill Purvis G8DIO | > | [email protected] | > +---------------------------------------------+ > > > _______________________________________________ > Linux-audio-user mailing list -- linux-audio-user-cunTk1MwBs/[email protected] > To unsubscribe send an email to > linux-audio-user-leave-cunTk1MwBs/[email protected] > _______________________________________________ Linux-audio-user mailing list -- linux-audio-user-cunTk1MwBs/[email protected] To unsubscribe send an email to linux-audio-user-leave-cunTk1MwBs/[email protected]