i have a shell script that will grep a python3 from ps aux
shell script (pythoncheck.sh)
if ps aux | grep -v "grep" | grep "python3"