This Linux little tool ( the W32 brother is MIDIox ) act as a Midi router ( surprise

I was using it the "soundfont days" to modify ( so live ) the velocity curve of a keyboard. Please note that this tool do _not_ introduce any latency.
This is a graphical tool ( QT if my memory is good ) designed as a Swiss knife ( the rough side

One of the interesting function is the simple log which display ( as soon as pluged in Jack ) all the Midi commands crossing the channel ( or channels ) your are looking for. In one word: If your are a user of Linuxsampler and/or a keyboard player, you will need this tool sooner or later.
You will find it on the AlsaModularSynth page ( there is a lot of interesting tools here ): alsamodular.sourceforge.net , but you can also find the rpm on Planet CCRMA, and i think i can remember that Fedora and Mandrake have now the corresponding rpm.
Have fun