[mythtv-users] Multiple commercial flagging tasks causing Mythbackend to die

Doug Young goofdad at gmail.com
Mon Sep 17 15:43:40 UTC 2007

On 9/17/07, A JM <vbtalent at gmail.com> wrote:
> Since I'm not checking for the mythbackend PID ( BackendRunStatus=`ps -A |
> grep -c "mythbackend"`) is there a way to use the same KILL command with a
> generic "mythbackend" in it? In other words if you find "mythbackend", KILL
> it?

killall -9 mythbackend


ps -A | grep -c "mythbackend" | awk '{print $1}' | xargs kill -9

the quoting on the last is very important, the first is much easier.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070917/a963e018/attachment.htm 

More information about the mythtv-users mailing list