bash check apakah proses berjalan berdasarkan nama

if pgrep -x "<PROCESS_NAME>" > /dev/null; then
	echo "Running"
else
	echo "Not running"
fi
Sparkling Spider