On Feb 18, 2008 11:54 AM, Dave Phillips <dlphillips@email-addr-hidden> wrote:
> Greetings,
> So how do I test for JACK in a simple bash shell script ?
JACK_PID=`ps --no-headers -o pid -C jackd`
if [ -n "$JACK_PID" ]; then
# jackd is up
else
# jackd is down
fi
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Mon Feb 18 20:15:04 2008
This archive was generated by hypermail 2.1.8 : Mon Feb 18 2008 - 20:15:04 EET