I have a php script running in an endless loop on my Linux server. I know it's running because it's the only script that does X, and X is definitely happening. However, it's not listed in crontab, and I can't find it using ps aux. The only thing I can think of is that the script is an orphan(?) process of something else, but wouldn't that still show up in ps?
I need to modify this script, but as far as I know, changes don't take effect while a script is running; and I can't figure out how to find and kill it.