Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

multitail -L "ssh 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

You need to use the -t option with ssh. See the following link:

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.