I start an application by using the following command, it runs successfully. However I can find the application pid through the command ps aux |grep python.
I can not stop the application.
How can I do to find this application's pid and stop it.
nohup cd /usr/home/XXX/python/api && python /usr/home/XXX/python/api/main.py >/dev/null 2>&1 &