Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using multitail via SSH to filter log output on a number of servers like so:

multitail -L "ssh foo.bar.com tail -n 0 -q -F /var/log/out.log | grep match" 

This works great, however when multitail exits multiple processes are left hanging around -- three to be exact: bash, tail, and grep.

How can I force multitail (or more likely ssh) to terminate child processes and exit?

share|improve this question
    
I have the same problem. Does anyone know? –  Ced Nov 18 '11 at 12:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.