Open Terminal and run
(ps -ef|grep -v grep|grep procees_name_here >/dev/null && echo ”running” || echo ”not running”)
An example:
(ps -ef|grep -v grep|grep firefox >/dev/null && echo ”running” || echo ”not running”)
Open Terminal and run
(ps -ef|grep -v grep|grep procees_name_here >/dev/null && echo ”running” || echo ”not running”)
An example:
(ps -ef|grep -v grep|grep firefox >/dev/null && echo ”running” || echo ”not running”)