how to kill a python script running in gateway?

Dear
here,
http://www.digi.com/support/forum/8277/how-to-kill-a-python-script-running-in-gateway
in 2009, no simple way, to kill some python script on CPX4, but it’s possible on X2, today. In 2015, I would like to know if it’s possible now on CPX4 ?
CPX4 is more expensive than X2, and I found more easy way to create with X2…
Best regards.

If you can ssh into the device you can find the pid of the running script:

ps aux | grep python - will list all python scripts, you can replace python with the name of your script.

Then use kill #### to stop the script.

Alternatively, restart the device and make sure that script doesn’t run automatically.